S
sarah.wilson
I am using log4j and would like configure my appenders with a timezone.
I want to write the same log information to two logs:
a) LOG1 has a formatted timestamp in UK time (GMT) followed by the
message
b) LOG2 has a formatted timestamp in US time followed by the message
My messages are currently coming out in UK time.
I am new to java.
Can anyone suggest the best way to do this? I think I need to extend
PatternLayout in some way but don't know where to start.
Thanks alot for your help
I want to write the same log information to two logs:
a) LOG1 has a formatted timestamp in UK time (GMT) followed by the
message
b) LOG2 has a formatted timestamp in US time followed by the message
My messages are currently coming out in UK time.
I am new to java.
Can anyone suggest the best way to do this? I think I need to extend
PatternLayout in some way but don't know where to start.
Thanks alot for your help