+#ifdef PROTOTYPES
+ va_start( ap, Format );
+#else
+ va_start( ap );
+#endif
+ vsnprintf( msg, MAX_LOG_MSG_LEN, Format, ap );
+ va_end( ap );
+
+ 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 */
+ Wall_ServerNotice(msg);
+ Channel_LogServer(msg);
+ }
+} /* Log */
+
+
+GLOBAL void
+Log_Init_Resolver( void )
+{
+#ifdef SYSLOG
+ openlog( PACKAGE_NAME, LOG_CONS|LOG_PID, LOG_LOCAL5 );
+#endif
+#ifdef DEBUG
+ Log_Resolver(LOG_DEBUG, "Resolver sub-process starting, PID %ld.", (long)getpid());
+#endif
+} /* Log_Init_Resolver */
+
+
+GLOBAL void
+Log_Exit_Resolver( void )
+{
+#ifdef DEBUG
+ Log_Resolver(LOG_DEBUG, "Resolver sub-process %ld done.", (long)getpid());
+#endif
+#ifdef SYSLOG
+ closelog( );
+#endif
+} /* Log_Exit_Resolver */
+
+
+#ifdef PROTOTYPES
+GLOBAL void
+Log_Resolver( const int Level, const char *Format, ... )
+#else
+GLOBAL void
+Log_Resolver( Level, Format, va_alist )
+const int Level;
+const char *Format;
+va_dcl
+#endif
+{
+ /* Eintrag des Resolver in Logfile(s) schreiben */
+
+ char msg[MAX_LOG_MSG_LEN];
+ va_list ap;
+