This is how ngIRCd up to release 19.2 behaved; "bug" introduced by commit
67e882, "configure.in: require autoconf 2.67 and automake 1.11", which
changed the "PACKAGE_NAME" to "ngIRCd"; so use "PACKAGE" which still is
the lowercase version for initializing syslog logging.
#define LOG_CONS 0
#endif
#ifdef LOG_DAEMON
#define LOG_CONS 0
#endif
#ifdef LOG_DAEMON
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, LOG_DAEMON);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, LOG_DAEMON);
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, 0);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, 0);
#endif
#endif
} /* Log_Init */
#endif
#endif
} /* Log_Init */
#define LOG_CONS 0
#endif
closelog();
#define LOG_CONS 0
#endif
closelog();
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, Conf_SyslogFacility);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, Conf_SyslogFacility);
#endif
Log(LOG_NOTICE, "%s started.", NGIRCd_Version);
Log(LOG_INFO, "Using configuration file \"%s\" ...", NGIRCd_ConfFile);
#endif
Log(LOG_NOTICE, "%s started.", NGIRCd_Version);
Log(LOG_INFO, "Using configuration file \"%s\" ...", NGIRCd_ConfFile);
Log_Init_Subprocess(char UNUSED *Name)
{
#ifdef SYSLOG
Log_Init_Subprocess(char UNUSED *Name)
{
#ifdef SYSLOG
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, Conf_SyslogFacility);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, Conf_SyslogFacility);
#endif
#ifdef DEBUG
Log_Subprocess(LOG_DEBUG, "%s sub-process starting, PID %ld.",
#endif
#ifdef DEBUG
Log_Subprocess(LOG_DEBUG, "%s sub-process starting, PID %ld.",