summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-antivirus/skyldav/files/skyldav-0.5-syslog.patch')
-rw-r--r--app-antivirus/skyldav/files/skyldav-0.5-syslog.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch b/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch
new file mode 100644
index 0000000..2e72ce2
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch
@@ -0,0 +1,22 @@
+diff -urN skyldav-0.5.orig/src/skyldav/Messaging.cc skyldav-0.5/src/skyldav/Messaging.cc
+--- skyldav-0.5.orig/src/skyldav/Messaging.cc 2015-02-15 20:32:57.000000000 +0100
++++ skyldav-0.5/src/skyldav/Messaging.cc 2016-01-21 14:17:12.492010594 +0100
+@@ -118,15 +118,17 @@
+ break;
+ case INFORMATION:
+ type = "I";
+- syslog(LOG_NOTICE, "%s", message.c_str());
++ syslog(LOG_INFO, "%s", message.c_str());
+ std::cout << message << std::endl;
+ break;
+ case DEBUG:
+ type = "D";
++ syslog(LOG_DEBUG, "%s", message.c_str());
+ std::cout << message << std::endl;
+ return;
+ default:
+ type = " ";
++ syslog(LOG_NOTICE, "%s", message.c_str());
+ std::cout << message << std::endl;
+ break;
+ }