rosconsole
rosconsole copied to clipboard
Wrong timezone in logging output
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?
Any Update for this issue?
not on my side. still have the same issue.