Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
(first time post: hope this is /reed-A-bull/...)
System: Fedora/eclipse/perl
we (work) just started using log4perl
I can't find a "flag" for the %d in ConversionPattern to add timezone? (or Daylight Savings Flag)
I found ways to find the information thru code, but then how do I add a STRING to follow ConversionPattern %d (without making this part of each and every message string?
Currently in log4perl.conf:
log4perl.appender.perllog.layout.ConversionPattern= %d{yyyyMMdd.hhmmss +:}-%P-%H-%p{2}-%m
I'd even be happy with a "GMT(+/-)##" addtion
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: log4perl Timezone
by beech (Parson) on Mar 02, 2016 at 18:14 UTC |