Chris,

If it is appropriate for your application to configure log4j and it
uses the pattern layout, you can simply include the version in the
conversion pattern:

as in "XYZApp v3.14 %d [%t] %p %c - %m%n"

At 20:42 27.05.2002 +0100, Chris Naude wrote:

>Hi
>
>I am trying to get a program version # (or somesort of version identifier) 
>to print as part of my log statements. This would enable me to easily see 
>if I am running the correct program by simply changing the program version 
>identifier. Is there an easy way of doing this in Log4J.
>
>Regards
>
>Chris


I hope the above is useful.

--
Ceki


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to