mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-29 18:08:31 +00:00
Minor fixes
This commit is contained in:
parent
ad72c218c3
commit
e69970ed56
10 changed files with 108 additions and 107 deletions
12
logging.md
12
logging.md
|
@ -4,9 +4,9 @@ title: Logging
|
|||
permalink: /logging/
|
||||
---
|
||||
|
||||
Radicale logs to ``stderr``. The verbosity of the log output can be controlled
|
||||
with ``--debug`` command line argument or the ``debug`` configuration option in
|
||||
the ``logging`` section.
|
||||
Radicale logs to `stderr`. The verbosity of the log output can be controlled
|
||||
with `--debug` command line argument or the `debug` configuration option in
|
||||
the `logging` section.
|
||||
|
||||
This is the recommended configuration for use with modern init systems
|
||||
(like **systemd**) or if you just test Radicale in a terminal.
|
||||
|
@ -16,11 +16,11 @@ rotate them).
|
|||
This is useful if the process daemonizes or if your chosen method of running
|
||||
Radicale doesn't handle logging output.
|
||||
|
||||
A logging configuration file can be specified in the ``config`` configuration
|
||||
option in the ``logging`` section. The file format is explained in the
|
||||
A logging configuration file can be specified in the `config` configuration
|
||||
option in the `logging` section. The file format is explained in the
|
||||
[Python Logging Module](https://docs.python.org/3/library/logging.config.html#configuration-file-format).
|
||||
|
||||
An example configuration to write the log output to the file */var/log/radicale/log*:
|
||||
An example configuration to write the log output to the file `/var/log/radicale/log`:
|
||||
```ini
|
||||
[loggers]
|
||||
keys = root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue