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

Wrong timezone in logging output #53

Open
DanyResasco opened this issue Oct 21, 2021 · 2 comments
Open

Wrong timezone in logging output #53

DanyResasco opened this issue Oct 21, 2021 · 2 comments

Comments

@DanyResasco
Copy link

Hi,
I'm running the code in Ubuntu 20, with python3 and cpp14
I have a package with both python and cpp nodes, and I realize that my CPP logs are in UTC while the python logs are local time.

[ WARN] [21.10.2021 07:58:04 07:58:04 /camera]
[INFO] [21.10.2021 09:58:04 09:58:04 /controller]

my lunch file has the env at the beginning of the file

    <env name="ROSCONSOLE_FORMAT"
        value="[${severity}] [${time:%d.%m.%Y %H:%M:%S} ${node}] [${file}:${function}:${line}]: ${message}"/>

I tried to add the timezone ${time:%d.%m.%Y %H:%M:%S %z} but only the python logs are affected.

Do you know how I can solve this issue?

@DanyResasco DanyResasco changed the title Wrong timestamps in logging output Wrong timezone in logging output Oct 21, 2021
@Kuo-Feng
Copy link

Any Update for this issue?

@DanyResasco
Copy link
Author

not on my side. still have the same issue.

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

2 participants