]> git.ipfire.org Git - pakfire.git/commitdiff
Log everything as "pakfire"
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 21:58:48 +0000 (22:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Nov 2017 21:58:48 +0000 (22:58 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/logging.c

index 50986cc1a6d5845760c39699885658c9b9b1a778..8113cea912edd03a6ffd488d0305b9d43d9282dc 100644 (file)
@@ -51,6 +51,6 @@ void pakfire_log_stderr(Pakfire pakfire, int priority, const char* file,
 
 void pakfire_log_syslog(Pakfire pakfire, int priority, const char* file,
                int line, const char* fn, const char* format, va_list args) {
-       openlog("UNKNOWN", LOG_PID, LOG_DAEMON);
+       openlog("pakfire", LOG_PID, LOG_DAEMON);
        vsyslog(priority | LOG_DAEMON, format, args);
 }
\ No newline at end of file