Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AirFileTarget set timezone #148

Open
GoogleCodeExporter opened this issue Sep 27, 2015 · 1 comment
Open

AirFileTarget set timezone #148

GoogleCodeExporter opened this issue Sep 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I've used this library to implement logging for an air application.
Everything works fine except that when logging to file i get utc datetime 
instead of the right timezone. 

Logger is created with this line

LOGGER_FACTORY.setup = new SimpleTargetSetup(new MergedTarget(new 
org.as3commons.logging.setup.target.TraceTarget(), new AirFileTarget(logPath)));

Notice that the TraceTarget works fine.

I've tried to see if there is a way to force it to use "local time" but i 
couldn't find one.
As today i'm getting logged records where time differs of 2 hours from real 
local time.
Is there something i can do or something i am doing wrong?

Thank you 
M.

Original issue reported on code.google.com by [email protected] on 2 Apr 2015 at 12:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant