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