ros / rosconsole

17 stars 61 forks source link

Wrong timezone in logging output #53

Open DanyResasco opened 2 years ago

DanyResasco commented 2 years ago

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?

Kuo-Feng commented 2 years ago

Any Update for this issue?

DanyResasco commented 2 years ago

not on my side. still have the same issue.