- CtdlLogPrintf(CTDL_NOTICE, "\n");
- CtdlLogPrintf(CTDL_NOTICE, "\n");
- CtdlLogPrintf(CTDL_NOTICE,
- "*** Citadel server engine v%d.%02d (build %s) ***\n",
- (REV_LEVEL/100), (REV_LEVEL%100), svn_revision());
- CtdlLogPrintf(CTDL_NOTICE, "Copyright (C) 1987-2008 by the Citadel development team.\n");
- CtdlLogPrintf(CTDL_NOTICE, "This program is distributed under the terms of the GNU "
- "General Public License.\n");
- CtdlLogPrintf(CTDL_NOTICE, "\n");
- CtdlLogPrintf(CTDL_DEBUG, "Called as: %s\n", argv[0]);
- CtdlLogPrintf(CTDL_INFO, "%s\n", libcitadel_version_string());
-
- /* Load site-specific parameters, and set the ipgm secret */
- CtdlLogPrintf(CTDL_INFO, "Loading citadel.config\n");
- get_config();
- config.c_ipgm_secret = rand();
-
- /* get_control() MUST MUST MUST be called BEFORE the databases are opened!! */
- CtdlLogPrintf(CTDL_INFO, "Acquiring control record\n");
- get_control();
-
- put_config();
+ syslog(LOG_INFO, " ");
+ syslog(LOG_INFO, " ");
+ syslog(LOG_INFO, "*** Citadel server engine ***\n");
+ syslog(LOG_INFO, "Version %d (build %s) ***", REV_LEVEL, svn_revision());
+ syslog(LOG_INFO, "Copyright (C) 1987-2017 by the Citadel development team.");
+ syslog(LOG_INFO, "This program is distributed under the terms of the GNU General Public License.");
+ syslog(LOG_INFO, " ");
+ syslog(LOG_INFO, "%s", libcitadel_version_string());