[dev] minor patch for horde log

Vilius Šumskas vilius at lnk.lt
Mon Jan 31 07:26:49 PST 2005


Sorry, this is more correct version of a patch.

-- 
   Best Regards,

   Vilius
-------------- next part --------------
Index: login.php
===================================================================
RCS file: /repository/horde/login.php,v
retrieving revision 2.178
diff -u -r2.178 login.php
--- login.php	18 Jan 2005 19:31:09 -0000	2.178
+++ login.php	31 Jan 2005 15:25:05 -0000
@@ -45,7 +45,7 @@
 
     $entry = sprintf('User %s [%s] logged out of Horde',
                      Auth::getAuth(), $_SERVER['REMOTE_ADDR']);
-    Horde::logMessage($entry, __FILE__, __LINE__, PEAR_LOG_INFO);
+    Horde::logMessage($entry, __FILE__, __LINE__, PEAR_LOG_NOTICE);
     Auth::clearAuth();
     @session_destroy();
 
@@ -73,7 +73,7 @@
                             array('password' => Util::getPost('horde_pass')))) {
         $entry = sprintf('Login success for %s [%s] to Horde',
                          Auth::getAuth(), $_SERVER['REMOTE_ADDR']);
-        Horde::logMessage($entry, __FILE__, __LINE__, PEAR_LOG_INFO);
+        Horde::logMessage($entry, __FILE__, __LINE__, PEAR_LOG_NOTICE);
 
         if ($ie_version) {
             $browser->setIEVersion($ie_version);


More information about the dev mailing list