users@glassfish.java.net

Re: Server Log Configuration

From: <glassfish_at_javadesktop.org>
Date: Mon, 29 Oct 2007 05:42:43 PST

The server.log file contains the log records from implementation systems of the server, e.g.
web-container, ejb-container, admin etc.

The access log contains the log records from the virtual server that pertain to the access of your
server through an HTTP client (e.g. browser).

If it is the access log that you need (for that's where this information would be relevant), then you
can:
- Configure the access log to be turned on (look at the http-service node in admin-console).
- Configure the format that you need. By default, [b] for every request [/b], the following is
  logged in access log (domain-folder/logs/access/virtual-server-name-with-date-stamp.txt)
  %client.name% %auth-user-name% %datetime% %request% %status% %response.length%
- You can configure the access log format to contain various things of your interest:
  Apache common log format (http://httpd.apache.org/docs/1.3/logs.html) is also supported.

Hope this helps.
Regards,
Kedar
[Message sent by forum member 'km' (km)]

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