diff options
Diffstat (limited to 'procd.h')
-rw-r--r-- | procd.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -31,17 +31,13 @@ fprintf(stderr, "procd: %s(%d): " fmt, __func__, __LINE__, ## __VA_ARGS__); \ } while (0) -#define SYSLOG(p, fmt, ...) do { \ - syslog(p, fmt, ## __VA_ARGS__); \ - } while (0) - #define LOG(fmt, ...) do { \ - syslog(LOG_INFO, fmt, ## __VA_ARGS__); \ + log_printf(fmt, ## __VA_ARGS__); \ fprintf(stderr, "procd: "fmt, ## __VA_ARGS__); \ } while (0) #define ERROR(fmt, ...) do { \ - syslog(LOG_ERR, fmt, ## __VA_ARGS__); \ + log_printf(fmt, ## __VA_ARGS__); \ fprintf(stderr, "procd: "fmt, ## __VA_ARGS__); \ } while (0) |