logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel.Han...@smed.com
Subject Re: %P and %H addition to PatternLayout
Date Fri, 08 Nov 2002 16:04:25 GMT

I'd love for this to be addressed. I don't want this message to be quietly
ignored, so... bump.

These are required in my work. If we don't do this, then I'll have to hack
it up myself. However, I believe Java doesn't provide a means to get a pid.
I'm not sure if this is true, but it would throw a wrench in this.

Does anyone know if these can be done? Or if the developers want this to be
done? Cuz a patch is trivial if Java provides the functions.


Mike Schilli <mschilli1@aol.com> on 11/07/2002 09:34:43 PM

Please respond to "Log4J Users List" <log4j-user@jakarta.apache.org>

To:   log4j-user@jakarta.apache.org

Subject:  %P and %H addition to PatternLayout

Hi folks,

the Log4perl group has been receiving requests on adding %P (current
process id) and %H (hostname) to the PatternLayout format descriptors.
These seem to be features many people want in their log files, for
tracking which process wrote the message and on which host it happened
if logging is centralized. What do you guys think, would you want to add
them to log4j?

-- Mike

Mike Schilli

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org

This message and any included attachments are from Siemens Medical Solutions 
Health Services Corporation and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to CSOffice@smed.com.  Thank you

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message