void ipcsyslog_cleanup(void);
void ipcsyslog_init(void);
void log_to_shmem(const char *msg);
-
-
#endif /* FEATURE_IPC_SYSLOG */
static void log_locally(char *msg)
{
static time_t last;
-
struct flock fl;
int len = strlen(msg);
static void quit_signal(int sig)
{
- timestamp_and_log(LOG_SYSLOG | LOG_INFO, "System log daemon exiting", 0);
- puts("System log daemon exiting");
+ timestamp_and_log(LOG_SYSLOG | LOG_INFO, "syslogd exiting", 0);
+ puts("syslogd exiting");
unlink(dev_log_name);
if (ENABLE_FEATURE_IPC_SYSLOG)
ipcsyslog_cleanup();