You are here: Reference > Hand-Editing Configuration Files > Basic Express Server Configuration Using XML Files > The Logging Element

The Logging Element

The Logging element controls the amount of information written to Express Server's error and access logs. These log files are stored in <Express Server installation directory>/ImageServer/var/log. The Logging element contains the following editable attributes:

access

This attribute specifies whether or not entries are written to the access log. It may have one of the following values:

true

Entries are written to the access log.

false

Entries are not written to the access log.

level

This attribute specifies the amount of information written to the error log. It may have one of the following values:

emerg

Only emergency situations are written to the log. These are situations in which Express Server cannot operate.

alert

Includes emerg and situations that require immediate attention.

crit

Includes alert and above, and critical situations.

error

Includes all of the above, and errors encountered during Express Server operation.

warn

Includes all of the above, and warnings.

notice

Includes all of the above, and conditions that are normal but significant.

info

Includes all of the above, in addition to informational messages.

debug

The most verbose setting, this includes all of the above and information useful for debugging problems.