Howdy,
Your solution is general and good.  But I for one wouldn't mind seeing a
LogManager#getVersion method.  It can return a simple string e.g.
"1.2.8" or maybe something more involved.  This is a minor enhancement,
not an API requirement for us unlike the Servlet API
(ServletContext#getServerInfo, getMajorVersion, getMinorVersion), but it
couldn't hurt.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Garlak, Gregory [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 09, 2004 4:51 PM
>To: 'Log4J Users List'
>Subject: RE: Question on Version of Log4j
>
>
>Hi,
>
>This is not really a Log4J related question.
>Take a look at the java.lang.Package class.
>"getImplementationVersion()" may prove useful
>to you.
>
>Greg
>
>
>-----Original Message-----
>From: Saravanakumar Soundarrajan [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 09, 2004 4:40 PM
>To: [EMAIL PROTECTED]
>Subject: Question on Version of Log4j
>
>
>Hi,
>
>
>Is there a way to check the version of log4j.jar that has been
installed
>on a machine without looking at the manifest.mf file? Are there any
>variables or methods available to access the version info from the jar
>through the classes? We have many servers installed with different
>versions of log4j and we want to know which ones to update and which
ones
>not to.
>
>It will be a lot of help.
>
>Thanks,
>- SK.
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to