summaryrefslogtreecommitdiffstats
path: root/package/prosody/0001-enable-syslog.patch
blob: 16acc89c5a5a30f0edc945bc2ad5dd5a0ce29631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 267b5d195be0f3a8f00ccf4ccb62e25a9c4e48eb Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sun, 22 Oct 2017 08:44:01 +0200
Subject: [PATCH] enable syslog

note: the posix module is auto-loaded by default

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index a0fc6c9e..af3cc0e4 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -155,7 +155,7 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week
 log = {
 	info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
 	error = "prosody.err";
-	-- "*syslog"; -- Uncomment this for logging to syslog
+	"*syslog"; -- Uncomment this for logging to syslog
 	-- "*console"; -- Log to the console, useful for debugging with daemonize=false
 }
 
-- 
2.11.0

OpenPOWER on IntegriCloud