[dev] minor patch for horde log

Vilius Šumskas vilius at lnk.lt
Mon Jan 31 07:23:22 PST 2005


Hello,

this patch makes horde log priority more consistent with IMP (log priority there
is NOTICE too). It helps to solve the problem, when you want to track user
loggons but don't want to turn on INFO log piority in config, because sometimes
horde.log is overflooded with "agora:admin does not exist" and similar
information.

-- 
  Best Regards,

  Vilius Šumskas
  LNK TV system administrator
  mob.: +370 614 75713
  http://www.lnk.lt
-------------- 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:17:10 -0000
@@ -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