summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2019-05-10 21:47:51 +0200
committerJoel Rosdahl <joel@rosdahl.net>2019-05-10 21:47:51 +0200
commit866372c96dd4d51a7aa278830d2372057749daa2 (patch)
tree2b773957b24dfe8d533999733db37ccb45ad31f5
parent85ed7f1e877457d508610e28e5f688de4c907c2c (diff)
downloadccache-866372c96dd4d51a7aa278830d2372057749daa2.tar.gz
Improve manual text for logging to syslog
As discussed in #409.
-rw-r--r--doc/MANUAL.adoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc
index 8e710d04..eac87344 100644
--- a/doc/MANUAL.adoc
+++ b/doc/MANUAL.adoc
@@ -464,8 +464,9 @@ might be incorrect.
If set to a file path, ccache will write information on what it is doing to
the specified file. This is useful for tracking down problems.
+
-If set to "syslog", then ccache will log using syslog() instead of a file.
-Then you can use syslogd configuration to filter into a file, example:
+If set to *syslog*, ccache will log using `syslog()` instead of to a file. If
+you use rsyslogd, you can add something like this to `/etc/rsyslog.conf` or a
+file in `/etc/rsyslog.d`:
+
-------------------------------------------------------------------------------
# log ccache to file