diff src/noffle.c @ 185:fed1334d766b noffle

[svn] * src/client.c: Change variable only used on constant to 'const'. * src/filter.c: Add a couple of 'return's after ASSERT() to remove compiler warnings about functions needing returns. * NEWS,TODO,configure,configure.in,noffle.conf.example,docs/NOTES, docs/noffle.conf.5,src/client.c,src/configfile.c,src/content.c, src/control.c,src/database.c,src/fetch.c,src/fetchlist.c,src/filter.c, src/group.c,src/lock.c,src/log.c,src/log.h,src/noffle.c,src/outgoing.c, src/post.c,src/protocol.c,src/request.c,src/server.c,src/util.c: Debug logging is always compiled and selected via noffle.conf. All debug logs are classified as all, none, config, control, expire, fetch, filter, newsbase, noffle, post, protocol, requests and server.
author bears
date Sun, 05 Aug 2001 09:24:22 +0100
parents 09ca6eb5c7ff
children f1bacee93ca6
line wrap: on
line diff
--- a/src/noffle.c	Tue Jun 19 11:23:43 2001 +0100
+++ b/src/noffle.c	Sun Aug 05 09:24:22 2001 +0100
@@ -10,7 +10,7 @@
   received for some seconds (to allow multiple clients connect at the same
   time).
 
-  $Id: noffle.c 279 2001-05-09 11:33:43Z bears $
+  $Id: noffle.c 300 2001-08-05 08:24:22Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -575,13 +575,13 @@
         Log_err( "Cannot set system core limit: %s", strerror( errno ) );
         return;
     }
-    Log_dbg( "Core limit set to %i", lim.rlim_max );
+    Log_dbg( LOG_DBG_NOFFLE, "Core limit set to %i", lim.rlim_max );
     if ( chdir( Cfg_spoolDir() ) != 0 )
     {
          Log_err( "Cannot change to directory '%s'", Cfg_spoolDir() );
          return;
     }
-    Log_dbg( "Changed to directory '%s'", Cfg_spoolDir() );
+    Log_dbg( LOG_DBG_NOFFLE, "Changed to directory '%s'", Cfg_spoolDir() );
 }
 
 static Bool
@@ -589,7 +589,7 @@
 {
     Log_init( "noffle", noffle.lockAtStartup, LOG_NEWS );
     Cfg_read();
-    Log_dbg( "NOFFLE version %s", Cfg_version() );
+    Log_dbg( LOG_DBG_NOFFLE, "NOFFLE version %s", Cfg_version() );
     if ( noffle.lockAtStartup )
         if ( ! Lock_openDatabases() )
             return FALSE;