kevinyeandel
Technical User
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
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