Problem configuring application specific loggin glassfish v3
Posted
by Shane
on Stack Overflow
See other posts from Stack Overflow
or by Shane
Published on 2010-03-12T11:02:23Z
Indexed on
2010/03/12
11:07 UTC
Read the original article
Hit count: 235
ejb3
|glassfishv3
I am using java.util.logging in an EJB application running on glassfish v3. I can see the log messages in server.log but i don't seem to be able to configure the logging level in glassfish\domains\domain1\logging.properties. If I use:
Logger logger = Logger.getLogger("com.foo");
To obtain the logger and log with:
logger.info("message");
then I expect that if I set
com.foo.level=WARNING
in logging.properties then the message should not logged. Am I doing something wrong here?
© Stack Overflow or respective owner