When you changed log level through admin console it's making logging OFF
(
http://java.net/jira/browse/GLASSFISH-17037). So there is no data
logged after that in server.log file.
So you can run following command to go ahead.
1. ./asadmin set-log-levels
com.sun.enterprise.server.logging.GFFileHandler=ALL
2. ./asadmin set-log-levels com.mycompany.xyz=FINE
Now try your app.
Regards,
Naman
On Tuesday 02 August 2011 12:58 PM, forums_at_java.net wrote:
> Hi,
>
> I've been trying to set the logging level for my application in GF
> 3.1.1...
> I'm using plaing java.util.logging logging in my application. The
> level seems
> fixed to "INFO". Whenever I log something on e.g. the "FINE" level, it
> doesn't show up in the log file. I tried to add "com.mycompany.xyz" to
> the
> list of logging levels under "default-config" as well as
> "server-config". " I
> tried both the web-based admin console and the asadmin set-log-levels
> command. Whatever level I set, the level seems fixed to "INFO". Even
> if I set
> the level to "SEVERE", "INFO"-messages still show up in the log. And the
> other way around: "FINE" messages never show up...
>
> I used to set the logging level via the admin console in GF 2.1 without
> problems. Am I missing something that's changed in 3.1.1? Or am I
> encountering a bug?
>
> Best regards,
>
> Bart Kummel
>
>
> --
>
> [Message sent by forum member 'bkummel']
>
> View Post: http://forums.java.net/node/828563
>
>