mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
Document the log.append_file configuration key
This flag is extremely useful but I couldn't find any documentation referencing it. I only found it once I started having a poke through the source code, so hopefully this will save others a little bit of time :)
This commit is contained in:
@@ -10,6 +10,15 @@ A newly opened log file is not connected to any logging events.
|
||||
|
||||
Some control over formatting will be provided at a later date.
|
||||
|
||||
## Appending to log files
|
||||
|
||||
log.append_file "rtorrent.log", "/tmp/rtorrent.log"
|
||||
|
||||
The `log.open_file` clears any existing contents of the file. If you'd
|
||||
prefer to have a single log file that persists across application
|
||||
restarts, you can use the `log.append_file` in place of the
|
||||
`log.open_file` configuration key.
|
||||
|
||||
## Adding outputs to events
|
||||
|
||||
# log.add_output = "logging event", "log name"
|
||||
|
||||
Reference in New Issue
Block a user