Timezone and naming of logfiles
See original GitHub issueIn lib/logs.js Date().toISOString()
is used to generate a datestring for the logfiles. The timezone for it is always UTC. Could we have a local timezone here?
Also: What happens when you enable multiple servers for autostart? Will multiple logfiles “collide” with each other because of a same name? As a solution could we have the filename suffixed with the actual servername?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to change the Timezone for the timestamps in the ...
How to change the Timezone for the timestamps in the LucidWorks log files · 1. Identify the log4j-connectors. · 2. Edit the above...
Read more >logfiles and daylight savings time - Unix & Linux Stack Exchange
I'm thinking that I should set the system time to UTC and then process the logfiles into local timezone before handing off to...
Read more >Date and time for log files different to `date`, `timezone` etc
Save this question. On a Ubuntu 14.04 vps, my timezone is set to UTC/GMT. This remains the case even after a service rsyslog...
Read more >Boost log file names in a different timezone - Stack Overflow
Is there any way to change the timezone of the datetime object? I would like to use a timezone that rolls at 5PM...
Read more >Incorrect time stamps displayed by an application or in log files
The files local time and time zone are usually symbolic links to the appropriate time zone file, but it is not always the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
UTC is the most correct as admins might be from multiple timezones. It also takes care of winter vs summer time. UTC never lies 😃
#197 works great, thanks. #198 I would prefer to have the correct timestamp in the filename itself.