otherwise LOG_USER/LOG_EMERG is used
Signed-off-by: Ulrich Weber <uw@ocedo.com>
*/
#define INFO(fmt, ...) do { \
- syslog(0,"preload-seccomp: "fmt, ## __VA_ARGS__); \
+ syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \
} while (0)
break;
*newline = 0;
len = newline + 1 - str;
- syslog(0, "%s", str);
+ syslog(LOG_NOTICE, "%s", str);
#ifdef SHOW_BOOT_ON_CONSOLE
fprintf(stderr, "%s\n", str);
#endif
} while (0)
#define ERROR(fmt, ...) do { \
- syslog(0, "utrace: "fmt, ## __VA_ARGS__); \
+ syslog(LOG_ERR, "utrace: "fmt, ## __VA_ARGS__); \
fprintf(stderr, "utrace: "fmt, ## __VA_ARGS__); \
} while (0)