Hello Googlers!

I use the SLF4J <http://www.slf4j.org/manual.html> to log the users actions 
on my AppEngine application.

After a long research (four months ago) i found the follow snippet code at this 
discussion<https://groups.google.com/forum/#%21topic/google-appengine-java/4i5nJ3KhJaw>
:

***@Override *
*public void init() throws ServletException { *
      //To Brazil timeZone.. "Hello Brazilians!"
*      TimeZone.setDefault(TimeZone.getTimeZone("GMT-3:00")); *
*} *

Then i put this code on my servlet thats run on instance's warmup. So my log 
has the date at the correct timeZone! Brilliant!

Since yesterday, my log stay with the date at UTC 
timeZone<http://timezones.appspot.com/>. 
I know that i can change the timeZone now by admin console interface (that's 
awesome!), but when i download my log it has the UTC timeZone.

Any questions? Please, correct me or ask if it isn't clear...

Thanks Googlers! (everyone in this group is a kind of Googlers!)
<http://www.slf4j.org/manual.html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/3E0H6Wk3ukcJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to