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

Feature request: Add timezone modifier to log prints. #61

Open
robertselberg opened this issue Sep 18, 2020 · 0 comments
Open

Feature request: Add timezone modifier to log prints. #61

robertselberg opened this issue Sep 18, 2020 · 0 comments

Comments

@robertselberg
Copy link

We have multiple units distributed over several timezones and it would be nice to know the timezone when we're looking at the logs. That would make it easier to compare the logs and find events that occurs for everyone at the same time.

Current logs look like this:
Sep 18 13:10:49 Legato: blah.

My suggestion:
Sep 18 13:10:49 +2 Legato: blah.

Where the +2 would indicate that we're in UTC+2.

The file you can modify to implement this feature is: /legato/framework/liblegato/linux/log.c : fa_log_Send()

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

No branches or pull requests

1 participant