A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Other Open Source Projects
dinamic variables value in log4j
Joined: May 08, 2005
May 09, 2006 09:55:00
hello to everybody....I have a problem with log4J..
I need to pass a variabe value before all the log line...example
[MICKEY] 20050606 - Log Message!!
[MINNIE] 20050606 - Log Message!!
etc.....where the first word changes.....hoe can I do?can qnyone help me please?
Joined: Jun 19, 2001
May 09, 2006 10:19:00
on how to format log4j messages.
perhaps you can name the loggers or use precision specifier to print parts of the message ?
I agree. Here's the link:
subject: dinamic variables value in log4j
Problem configuring Hibernate and JPA in Eclipse
Server loggng with log4j Tomcat 6.x
Remote Logging Error
Cannot log into UNIX Syslog with log4j
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015