- openlog( PACKAGE, LOG_CONS|LOG_PID, LOG_DAEMON );
- Log( LOG_NOTICE, PACKAGE" version "VERSION" started.");
+ CHAR txt[64];
+
+ strcpy( txt, "" );
+
+#ifdef DEBUG
+ if( txt[0] ) strcat( txt, "+" );
+ else strcat( txt, "-" );
+ strcat( txt, "DEBUG" );
+#endif
+#ifdef SNIFFER
+ if( txt[0] ) strcat( txt, "+" );
+ else strcat( txt, "-" );
+ strcat( txt, "SNIFFER" );
+#endif
+
+ openlog( PACKAGE, LOG_CONS|LOG_PID, LOG_LOCAL5 );
+ Log( LOG_NOTICE, PACKAGE" version "VERSION"%s started.", txt );