logging
Logging controls the logging behaviour within the zone.
It might be a good idea to split logs of each domain and critical applications
into individual files.
|
Attributes
|
| name |
default |
description |
| target |
stderr
|
Target of logging, either
stderr (for error stream),
stdout (for output stream), or
filename.
|
| provider |
basic
|
Log implementation, either
basic (for
anvil.server.basic.BasicLogDevice)
or the name of the class that is an instance of
anvil.LogDevice.
See Providers.
|
| level |
error
|
Level of logging. One of the following:
- debug
- notice
- info
- warning
- error
- critical
- alert
- emergency
. Only the first four levels are actually used.
|
| * |
*
|
Arbitrary attributes required by the custom provider.
|
Example:
logging:
type = basic
target = /var/logs/anvil.log
level = info
end
Add a note
|