Hi all,

 

Is it possible to set a standard header that is written every time
logging starts? I did not find anything on the internet or the log4j
documentation concerning this point. I remember having done this 3 years
ago with log4j but I can't really remember how I did it and I don't have
those sources anymore. In 1.3 API I found a method setHeader(...), but
there is no such method in log4j 1.2.12 and I don't want to use 1.3
because it is not in stable release state and I'm using log4j in a live
production system where I cannot afford to use alpha or beta releases.

So is there a way to write standard headers to log files in 1.2 and if
there is, how is it done?

 

Best regards

Tobias Mantsch

Reply via email to