Logging
Logging can be done to disk and/or console, with customisable logging levels and location of log files.
Mandatory
These settings are mandatory.
While logging to disk files is optional, logging to console will always happen.
You should also set a log level.
Do note though that Butler expects the configuration properties below to exist in the config file, but will ignore their values if the related features are disabled.
What’s this?
Logging tells you what Butler Auth has done in the past.
Who logged in when, if you like.
Temporarily increasing logging verbosity can also be very useful when setting up new authentication providers.
Don’t forget to dial back the logging level once everthing works though!
Settings in config file
---
ButlerAuth:
...
...
# Logging configuration
logLevel: info # Log level. Possible log levels are silly, debug, verbose, info, warn, error
fileLogging: false # true/false to enable/disable logging to disk file
logDirectory: log # Subdirectory where log files are stored. Absolute or relative path accepted.
...
...
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified 0001.01.01