Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with log4j1.2.8 in wl8.1

Status
Not open for further replies.

kevinyeandel

Technical User
Apr 29, 2004
2
GB
Dear all
Having some issues keeping log4j logging... it seems to just stop for no reason.
The Logger has been inited in a load-on-startup servlet or as a listner. The Appender has been successfully read and is operational. The first hit from a client is to servlet and something is logged.. There are a couple of redirects to jsp's, logging is captured. If I refresh the browser then logging is no longer captured.
As a test I set a property in the MDC when the initialization class was loaded at startup, I was able to read back the value.. From any servlet tho' reading back the value resulted in a null!

I wondered if anyone else has had any problems with log4j in wl8.1 - certainly other people in our dept are on earlier versions of WL, use log4j and have reviewed my code but can't find any errors.. If I restart the managed node then logging will begin again but soon stop.

Any help or clues will be much appreciated..

Many thanks in advance

Kevin


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top