It sounds like you want that in the header of the file?  That sounds like an 
extension of what PatternLayout currently does. You would just want to set the 
header to include the pattern.  Of course, this doesn’t apply to Appenders that 
use some other layout.

Ralph

On May 19, 2014, at 12:47 PM, Gary Gregory <garydgreg...@gmail.com> wrote:

> I get logs from users that are files, which is nice.
> 
> I'd like the log to have a line that shows the conversion pattern used to 
> create the log events.
> 
> This would let me create a nice color filter in our tools.
> 
> Yes, I know users could use some kind of structured appender in addition to a 
> log file, but they won't for my convenience...
> 
> So I wonder if we could have setting for this? Our tools create the config, 
> so we could turn it on no matter what conversion pattern they use.
> 
> Gary
> 
> -- 
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to