From: Konstantin L. <to....@gm...> - 2008-11-18 07:46:02
|
ankit tandon пишет: > Hi All , > Currently is there any way to print the timestamps/dates in log4cpp > converted to GMT/UTC timezone. I read somewhere that using "%d" prints > the date in UTC but we are still getting our local system (US) time. > Any help regarding this will be deeply appreciated. > No, there is no way to print UTC time using PatternLayout. But you can write your own appender that will print UTC timestamps/date. |