in reply to Configuring log4perl to print TimeStamp

Adjust the layout. Log::Log4perl::Layout::PatternLayout probably has everything you need to know concerning layouts.
  • Comment on Re: Configuring log4perl to print TimeStamp

Replies are listed 'Best First'.
Re^2: Configuring log4perl to print TimeStamp
by fattahsafa (Sexton) on Dec 12, 2014 at 21:14 UTC
    Thanks alot. Layout works well :) here what I added:
    my $layout = Log::Log4perl::Layout::PatternLayout->new( "%n%d - %p>%m{inden +t}"); $appender->layout($layout);