summaryrefslogtreecommitdiffstats
path: root/features-available/debuglog.conf
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2020-05-10 22:26:29 +0200
committerTobias Wiese <tobias@tobiaswiese.com>2020-05-10 22:26:29 +0200
commit1f358c5572bd1f847478b314bcd3e9378655ec92 (patch)
treee877d59c21fff46b0671f5a591d479c158e2fde2 /features-available/debuglog.conf
basic configuration
Provides a basic inital configuration. Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'features-available/debuglog.conf')
-rw-r--r--features-available/debuglog.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/features-available/debuglog.conf b/features-available/debuglog.conf
new file mode 100644
index 0000000..91af633
--- /dev/null
+++ b/features-available/debuglog.conf
@@ -0,0 +1,10 @@
+/**
+ * The FileLogger type writes log information to a log file.
+ * Unlike the mainlog feature this sets up a logger
+ * with severity "debug".
+ */
+
+object FileLogger "debug-file" {
+ severity = "debug"
+ path = LogDir + "/debug.log"
+}