users@glassfish.java.net

Re: custom log file?

From: <glassfish_at_javadesktop.org>
Date: Thu, 28 Feb 2008 11:25:06 PST

In the "advanced search" section of the log viewer, you can select (or edit) the list of logger you want to display. It is therefore very easily to display only the logs of your application, even if they are in server.log.

If you really want to have separate logs, you can configure your logger either programmatically during startup, or declaratively with a configuration file, or write a custom handler. See http://forums.java.net/jive/thread.jspa?messageID=247074

The log viewer will list all the files in the "logs" directory. I you place your own ones there, you will be able to view them with the log viewer.
[Message sent by forum member 'ewernli' (ewernli)]

http://forums.java.net/jive/thread.jspa?messageID=261456