changed log facility to local1

This commit is contained in:
tastytea 2018-05-22 19:06:42 +02:00
parent e9419c07a1
commit 824fe6bba6
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.6.0
VERSION 0.6.1
LANGUAGES CXX
)

View File

@ -52,7 +52,7 @@ int main(int argc, char *argv[])
signal(SIGINT, signal_handler);
signal(SIGTERM, signal_handler);
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());
Listener listener;