Moar cleanup
[citadel.git] / citadel / server_main.c
index 10915b3c4ecfc5e626029f2d4c8de343de09c18f..f1b458e5a98ce2ac1fea353f8841d6ee3eab3b95 100644 (file)
 uid_t ctdluid = 0;
 const char *CitadelServiceUDS="citadel-UDS";
 const char *CitadelServiceTCP="citadel-TCP";
-
-
-
 void go_threading(void);
 
 
-
 /*
  * Create or remove a lock file, so we only have one Citadel Server running at a time.
  */
@@ -47,7 +43,6 @@ void ctdl_lockfile(int yo) {
        static char lockfilename[SIZ];
        static FILE *fp;
 
-
        if (yo) {
                syslog(LOG_DEBUG, "main: creating lockfile");
                snprintf(lockfilename, sizeof lockfilename, "%s/citadel.lock", ctdl_run_dir);
@@ -70,10 +65,6 @@ void ctdl_lockfile(int yo) {
 }
 
 
-
-
-
-
 /*
  * Here's where it all begins.
  */
@@ -216,15 +207,13 @@ int main(int argc, char **argv)
        }
 
        /* Tell 'em who's in da house */
-       syslog(LOG_NOTICE, " ");
-       syslog(LOG_NOTICE, " ");
-       syslog(LOG_NOTICE, "*** Citadel server engine ***\n");
-       syslog(LOG_NOTICE, "Version %d (build %s) ***", REV_LEVEL, svn_revision());
-       syslog(LOG_NOTICE, "Copyright (C) 1987-2017 by the Citadel development team.");
-       syslog(LOG_NOTICE, "This program is distributed under the terms of the GNU "
-                                       "General Public License.");
-       syslog(LOG_NOTICE, " ");
-       syslog(LOG_DEBUG, "Called as: %s", argv[0]);
+       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());
 
 #ifdef HAVE_RUN_DIR