This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Strange log4j problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strange log4j problem." Watch "Strange log4j problem." New topic

Strange log4j problem.

Benson Fung
Ranch Hand

Joined: Apr 10, 2003
Posts: 214
Dear all,
I got a strange log4j problem. Here is my file first.
log4j.rootLogger=DEBUG, CPB_LOG
log4j.appender.CPB_LOG.ConversionPattern=[%d{HH:mm:ss}] [%c{2}] %p: %m%n
However, it did not create cpb.log at the specified location. I have installed this properties into WEB-INF/classes. Right now, I cannot log any message to cpb.log file now.
If anyone knows how to work out, please tell me ASAP
I agree. Here's the link:
subject: Strange log4j problem.
It's not a secret anymore!