You can configure logging in the web container for the entire server by:
Using the Administration interface. For more information, see the Sun Java System Web Server 6.1 SP7 Administrator’s Guide.
Editing the server.xml file. For more information, see the Sun Java System Web Server 6.1 SP7 Administrator’s Configuration File Reference.