blob: 2e72ce2ab58b3a0d5f0d7f875e904a8a5c5ca678 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}
|