Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:ARM
pdnsd
pdnsd-nodaemon-logfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdnsd-nodaemon-logfix.patch of Package pdnsd
Subject: fix too much verbosity in nodaemon mode Author: Stefan Seyfried <seife+obs@b1-systems.com> When used from systemd, the additional timestamp is not useful, so skip it Index: b/src/error.c =================================================================== --- a/src/error.c +++ b/src/error.c @@ -88,6 +88,13 @@ void log_message(int prior, const char * f=dbg_file; printtofile: #endif + if (!global.daemon) { + fprintf(f, "%s:", + prior<=LOG_CRIT?"critical": + prior==LOG_ERR?"error": + prior==LOG_WARNING?"warning": + "info"); + } else { char ts[sizeof "* 12/31 23:59:59| "]; time_t tt = time(NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor