Tagged Questions
1
vote
1answer
30 views
Glassfish logs to a null Logger - how to set the log level then?
I'm coding on GlassFish Server Open Source Edition 3.1.2.2 (build 5) with Netbeans7.3.
I use java.util.Logging and changed the Logging format of the console - no change to the glassfish logs. When I ...
0
votes
1answer
55 views
Unable to set log level in a Java web start application?
Some logging levels appear to be broke?
I run a Java web start (which I will begin to call JWS from now on) application straight from a GlassFish 3.1.2.2 instance. The client has a static logger like ...
0
votes
1answer
30 views
java.util.logging include jSessionId in each log entry
I am using j2se logger in my application.
Is there any way to log jSessionId with each log entry in the log file without modifying the current log statements.
3
votes
2answers
171 views
java.util.logging with Websphere
I created a dynamic web project using IBM Rational Application Developer (RAD). I used java.util.logging as the logging framework. I put the logging.properties in WEB-INF/classes directly.
The ...
1
vote
3answers
3k views
How to use java.util.logger in a web application?
I'm trying to use a logger across a web application. I have added the FileHandler to write the log into file. Now, I need to use the same handler across other classes/servlets in the project, so that ...
1
vote
2answers
163 views
Get LogLevel for current class/bean
I am using the following approach when logging from my class:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
...
private static Log log = ...