WebGUI
      Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Report a Bug > WebGUI Bug Tracker

Time zone difference in webgui.log

User jigou
Date 4/5/2007 1:03 pm
Severity Minor (annoying, but not harmful)
Version WebGUI 7.3.10 / WRE for Win 0.1.0
Views 73
Rating -2    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
jigou

As discussed briefly here: http://www.plainblack.com/plain_black_support/time-zone-difference-in-logs

Summary: log entries from WebGUI are in local time, but it appears that log entries from Spectre are in GMT.

Sample log entries one second apart:
2007/04/05 08:27:08 - WARN - dutch.luteininfo.com.conf - main::[[undef]] - The URL robots.txt was requested, but does not exist in your asset tree.
2007/04/05 14:27:09 - ERROR - spectre.conf - POE::Kernel::_dispatch_event[928] - CRON: Response for job french.luteininfo.com.conf-pbcron0000000000000004 had a communications error. <HTML>

Comment from JT:
Spectre and WebGUI share a log file, but they are two separate processes, and each has their own logging api. So my guess is that this is a bug in that the two loggers aren't matching up how they grab dates.

Jarrod



Back to Top
Rate [
|
]
 
 
nogura
Which one is giving you the right time for your timezone?  

Back to Top
Rate [
|
]
 
 
jigou

That might help, huh?

WebGUI is giving local time; Spectre appears to be GMT.

Jarrod



Back to Top
Rate [
|
]
 
 
nogura

That problem looks to be fixed in 7.3.15, and likely 7.3.14 too.  

Dates and Times are handled by the perl DateTime module now, it's cleaner and more useful.

In 7.3.10 we were still pulling the time value out of the kernel, which is usually set to UTC.

 

I'm going to close this, as the code looks to be handling the dates correctly.  If you still see the problem after upgrading, just replay back here, and it will automatically reopen the bug. 



Back to Top
Rate [
|
]