r8820: add debugging output for reconnection
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 5 Apr 2004 17:51:29 +0000 (17:51 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 5 Apr 2004 17:51:29 +0000 (17:51 +0000)
logger.lisp

index 86604b365b342a18771abb4233cb9b05f93e6e7c..a05d19e2b496b6b948898dcc003c1bc879396f28 100644 (file)
     (add-private-log-entry (find-logger-with-nick nick)
                           "Closing previously active connection [add-logger].")
     (ignore-errors (remove-logger nick)))
     (add-private-log-entry (find-logger-with-nick nick)
                           "Closing previously active connection [add-logger].")
     (ignore-errors (remove-logger nick)))
+  (format t "Calling create-logger [add-logger].~%")
   (let ((logger (create-logger nick server :channels channels :output output
                               :logging-stream logging-stream :password password
                               :realname realname :username username
   (let ((logger (create-logger nick server :channels channels :output output
                               :logging-stream logging-stream :password password
                               :realname realname :username username
                               :unknown-log unknown-log 
                               :formats formats
                               :async async)))
                               :unknown-log unknown-log 
                               :formats formats
                               :async async)))
+    (format t "Pushing newly created logger ~A [add-logger].~%" logger)
     (push logger *loggers*)
     (start-logger logger async)
     logger))
     (push logger *loggers*)
     (start-logger logger async)
     logger))
        (sleep 5)
        (when (is-connected new-logger)
          (log-reconnection new-logger)))))
        (sleep 5)
        (when (is-connected new-logger)
          (log-reconnection new-logger)))))
-      
-  )
+  ) ;; end closure
 
 (defun daemon-monitor ()
   "This function runs in the background and monitors the connection of the logger."
 
 (defun daemon-monitor ()
   "This function runs in the background and monitors the connection of the logger."