Commit Diff
Diff:
0305f75456fde86ff9d0179146d2ea821cff1457
5da98ec389de2a6d671d270abba86c395e593537
Commit:
5da98ec389de2a6d671d270abba86c395e593537
Tree:
b5a6367814b4b3509bd795f42508697b5eff2cf3
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Thu Dec 2 12:36:19 2010 UTC
Message:
Don't log critical (or worse) messages to stderr stderr isn't redirected to the "error file" any more, so there is no point in trying to log to it ...
blob - f68a0fb9ec90caab217b1ecb9cac37936702af04
blob + 0bc53ed8dc2b3b9a1afea84cadfea528eed33785
--- src/ngircd/log.c
+++ src/ngircd/log.c
@@ -205,12 +205,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 */
IRCNow