Create a header line for my log file

Hi I am writen a special log for my application that ist a kind of cvs file. I would like to add a header line with the columns name at the top of the file. One and just one line at the top. Is it possible to configure logback to do that? Regards -- View this message in context: http://old.nabble.com/Create-a-header-line-for-my-log-file-tp33265695p332656... Sent from the Logback User mailing list archive at Nabble.com.

Hi JavierL, On 05-02-2012 11:12, JavierL wrote:
Hi
I am writen a special log for my application that ist a kind of cvs file. I would like to add a header line with the columns name at the top of the file. One and just one line at the top.
Is it possible to configure logback to do that?
Could the doc help ;-) http://logback.qos.ch/manual/mdc.html http://logback.qos.ch/manual/loggingSeparation.html or the example from jetty. http://wiki.eclipse.org/Jetty/Tutorial/Sifting_Logs_with_Logback BR Aleks

Sorry wrong thread. BR Aleks On 15-02-2012 14:23, Aleksandar Lazic wrote:
Hi JavierL,
On 05-02-2012 11:12, JavierL wrote:
Hi
I am writen a special log for my application that ist a kind of cvs file. I would like to add a header line with the columns name at the top of the file. One and just one line at the top.
Is it possible to configure logback to do that?
Could the doc help ;-)
http://logback.qos.ch/manual/mdc.html http://logback.qos.ch/manual/loggingSeparation.html
or the example from jetty.
http://wiki.eclipse.org/Jetty/Tutorial/Sifting_Logs_with_Logback
BR Aleks _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
Aleksandar Lazic
-
JavierL