Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Print a partitioned log4perl message with proper indent

by Anonymous Monk
on Apr 17, 2017 at 06:49 UTC ( [id://1188092]=note: print w/replies, xml ) Need Help??


in reply to Print a partitioned log4perl message with proper indent

Hi, See IndentAppender in https://metacpan.org/pod/Log::Log4perl::FAQ#How-can-I-access-a-custom-appender-defined-in-the-configuration? and

%m{chomp} Log message, stripped off a trailing newline %m{indent} Log message, multi-lines indented so they line up with +first %m{indent=n} Log message, multi-lines indented by n spaces
in Log::Log4perl::Layout::PatternLayout

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1188092]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found