JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1-3.1.1 Reference Manual
search filter icon
search icon

Document Information

Preface

Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands

Oracle GlassFish Server 3.1 Section 1M: Utility Commands

Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts

application(5ASC)

configuration(5ASC)

domain(5ASC)

dotted-names(5ASC)

instance(5ASC)

logging(5ASC)

monitoring(5ASC)

passwords(5ASC)

resource(5ASC)

security(5ASC)

Oracle GlassFish Server 3.1 Section 5GFP: Events

Index

logging

- capturing information on GlassFish Server runtime events

Description

Logging is the process by which GlassFish Server captures data about events that occur during GlassFish Server operation. GlassFish Server components and application components generate logging data, which is saved in the server log, typically domain-dir/logs/server.log. The server log is the first source of information if GlassFish Server problems occur.

The server log is rotated when the file reaches the specified size in bytes, or the specified time has elapsed. The file can also be rotated manually by using the rotate-log subcommand.

In addition to the server log, the domain-dir/logs directory contains two other kinds of logs:

Logging levels can be configured by using the Administration Console or the set-log-levels subcommand. Additional properties can be set by using the Administration Console or by editing the logging.properties file. The default logging.properties file is typically located in domain-dir/config.

Although application components can use the Apache Commons Logging Library to record messages, the platform standard JSR 047 API is recommended for better log configuration.

See Also

list-log-levels(1), rotate-log(1), set-log-levels(1)

asadmin(1M)

Chapter 7, Administering the Logging Service, in Oracle GlassFish Server 3.1 Administration Guide