my $layout = Log::Log4perl::Layout::PatternLayout->new( "%n%d - %p>%m{indent}"); $appender->layout($layout);