changed log facility to local1
This commit is contained in:
parent
e9419c07a1
commit
824fe6bba6
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.6.0
|
VERSION 0.6.1
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ int main(int argc, char *argv[])
|
||||||
signal(SIGINT, signal_handler);
|
signal(SIGINT, signal_handler);
|
||||||
signal(SIGTERM, signal_handler);
|
signal(SIGTERM, signal_handler);
|
||||||
curlpp::initialize();
|
curlpp::initialize();
|
||||||
openlog("expandurl-mastodon", LOG_CONS | LOG_NDELAY | LOG_PID, LOG_LOCAL0);
|
openlog("expandurl-mastodon", LOG_CONS | LOG_NDELAY | LOG_PID, LOG_LOCAL1);
|
||||||
syslog(LOG_NOTICE, "Program started by User %d", getuid());
|
syslog(LOG_NOTICE, "Program started by User %d", getuid());
|
||||||
|
|
||||||
Listener listener;
|
Listener listener;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user