xref: /OK3568_Linux_fs/buildroot/package/prosody/0001-enable-syslog.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 267b5d195be0f3a8f00ccf4ccb62e25a9c4e48eb Mon Sep 17 00:00:00 2001
2From: Francois Perrad <francois.perrad@gadz.org>
3Date: Sun, 22 Oct 2017 08:44:01 +0200
4Subject: [PATCH] enable syslog
5
6note: the posix module is auto-loaded by default
7
8Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
9
10diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
11index a0fc6c9e..af3cc0e4 100644
12--- a/prosody.cfg.lua.dist
13+++ b/prosody.cfg.lua.dist
14@@ -166,7 +166,7 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week
15 log = {
16 	info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
17 	error = "prosody.err";
18-	-- "*syslog"; -- Uncomment this for logging to syslog
19+	"*syslog"; -- Uncomment this for logging to syslog
20 	-- "*console"; -- Log to the console, useful for debugging with daemonize=false
21 }
22
23--
242.11.0
25
26