Closed mikes-gh closed 5 years ago
Have a look to #200 and let me know if setting TimeZone to +00 in the config file solve the issue too. In this case I will set it as the default.
Yes setting +00 works but maybe the default timezone calculation could work better . If I get time I will have a look.
Save your time, I already have the code to auto-detect the timezone. I will add it, backward compatibility may be broken but I will drop a warning in the release note.
Commit 1bfd73c might solve this issue by correctly auto detecting timezone. Please give a try to latest development without setting TImeZone directive. Let me know.
Ill report back had meeting today.
https://github.com/darold/squidanalyzer/blob/abd1ef84df5e2660ad942275f410fd22f9b64903/SquidAnalyzer.pm#L1617
Here the timezone calculation fails when timezone is not set and you are in DST.
For example I am TImeZone London/Dublin which is currently in BST (Britissh summer time). This causes the calculation to put me in time zone GMT +2. This caused the incremental log parsing to fail