Log Options
--log-level-console
Level for console logging.
The following log levels are supported:
off
- No logging at all (not recommended)error
- Log only errorswarn
- Log warnings and errorsinfo
- Log info, warnings, and errorsdetail
- Log detail, info, warnings, and errorsdebug
- Log debug, detail, info, warnings, and errorstrace
- Log trace (very verbose debugging), debug, info, warnings, and errors
default: warn
example: --log-level-console=error
--log-level-file
Level for file logging.
The following log levels are supported:
off
- No logging at all (not recommended)error
- Log only errorswarn
- Log warnings and errorsinfo
- Log info, warnings, and errorsdetail
- Log detail, info, warnings, and errorsdebug
- Log debug, detail, info, warnings, and errorstrace
- Log trace (very verbose debugging), debug, info, warnings, and errors
default: info
example: --log-level-file=debug
--log-level-stderr
Level for stderr logging.
Specifies which log levels will output to stderr rather than stdout (specified by log-level-console
). The timestamp and process will not be output to stderr.
The following log levels are supported:
off
- No logging at all (not recommended)error
- Log only errorswarn
- Log warnings and errorsinfo
- Log info, warnings, and errorsdetail
- Log detail, info, warnings, and errorsdebug
- Log debug, detail, info, warnings, and errorstrace
- Log trace (very verbose debugging), debug, info, warnings, and errors
default: warn
example: --log-level-stderr=error
--log-path
Path where log files are stored.
The log path provides a location for pgBackRest to store log files. Note that if log-level-file=none then no log path is required.
default: /var/log/pgbackrest
example: --log-path=/backup/db/log
--log-timestamp
Enable timestamp in logging.
Enables the timestamp in console and file logging. This option is disabled in special situations such as generating documentation.
default: y
example: --no-log-timestamp