0001-enable-syslog.patch 846 B

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