Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add init logs and improve log traces #1452

Open
mapedraza opened this issue Sep 20, 2023 · 2 comments
Open

Add init logs and improve log traces #1452

mapedraza opened this issue Sep 20, 2023 · 2 comments
Labels

Comments

@mapedraza
Copy link
Collaborator

mapedraza commented Sep 20, 2023

Describe the solution you'd like

Add initial log block and make it independent from log level (always printed). Improve log traces

@AlvaroVega
Copy link
Member

AlvaroVega commented Sep 21, 2023

Current log levels provided for logops are 'DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL'

https://github.com/telefonicaid/logops/blob/5310b7516caf857ef4ecafc966fe8f9e9f77db81/lib/logops.js#L19-L20

Maybe we can still use any of these levels ( FATAL or ERROR to ensure log is always procuded) and include any new string like "INIT" at log statup

@fgalan
Copy link
Member

fgalan commented Sep 21, 2023

It would be great to check with Operations that a new INIT loglevel is ok with them. For instance, the log management tool could be ignoring all except the classic 5 ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants