Skip to content

Commit

Permalink
added log.execute and log.xmlrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
pyroscope committed Mar 25, 2017
1 parent 052b9ac commit ac7a641
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ The default download location for data is set by :term:`directory.default.set`.
:start-after: operational settings
:end-before: Watch directories

The :term:`log.execute` and :term:`log.xmlrpc` commands open related log files,
which can be very helpful when debugging problems of added extensions.


*Watch directories* are an important concept to automatically load metafiles you drop
into those directories.
They use the :term:`schedule2` command to *watch* these locations,
Expand Down
2 changes: 2 additions & 0 deletions docs/rtorrent.rc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ network.xmlrpc.size_limit.set = 2M
# Basic operational settings (no need to change these)
session.path.set = (cat, (cfg.basedir), ".session")
directory.default.set = (cat, (cfg.basedir), "download")
log.execute = (cat, (cfg.logs), "execute.log")
log.xmlrpc = (cat, (cfg.logs), "xmlrpc.log")

# Watch directories (add more as you like, but use unique schedule names)
schedule2 = watch_start, 10, 10, ((load.start, (cat, (cfg.watch), "start/*.torrent")))
Expand Down

0 comments on commit ac7a641

Please sign in to comment.