]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/log.c
New configuration option "PAMIsOptional"
[ngircd-alex.git] / src / ngircd / log.c
index f68a0fb9ec90caab217b1ecb9cac37936702af04..d79de269bc0b47b02b1f4cf445f5acf3ae4828a9 100644 (file)
@@ -7,13 +7,15 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * Logging functions
  */
 
-
 #include "portab.h"
 
+/**
+ * @file
+ * Logging functions
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <errno.h>
@@ -205,12 +207,6 @@ va_dcl
 
        Log_Message(Level, msg);
 
-       if (Level <= LOG_CRIT) {
-               /* log critical messages to stderr */
-               fprintf(stderr, "%s\n", msg);
-               fflush(stderr);
-       }
-
        if (snotice) {
                /* Send NOTICE to all local users with mode +s and to the
                 * local &SERVER channel */