[Tickets #8942] fresh install : Bad log level

bugs at horde.org bugs at horde.org
Tue Mar 30 10:06:24 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8942
------------------------------------------------------------------------------
  Ticket             | 8942
  Created By         | rsalmon at mbpgroup.com
  Summary            | fresh install : Bad log level
  Queue              | Horde Base
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2010-03-30 06:06) wrote:

using php-5.3.2, httpd-2.2.3

re-installing from scratch horde, I get the following error   
(horde/test.php) using the default config files :
Fatal error :
Bad log level
[ligne 120 de /var/www/html/git/horde/framework/Log/lib/Horde/Log/Logger.php]


output of $this and $event gives :
Horde_Log_Logger Object
(
     [_levels:Horde_Log_Logger:private] => Array
         (
             [0] => EMERG
             [1] => ALERT
             [2] => CRIT
             [3] => ERR
             [4] => WARN
             [5] => NOTICE
             [6] => INFO
             [7] => DEBUG
         )

     [_handlers:Horde_Log_Logger:private] => Array
         (
             [0] => Horde_Log_Handler_Null Object
                 (
                     [_options:protected] => Array
                         (
                         )

                     [_filters:protected] => Array
                         (
                         )

                 )

         )

     [_filters:Horde_Log_Logger:private] => Array
         (
         )

)
Array
(
     [message] => Hook pushapp in application horde not called.
     [level] => DEBUG
)


If I add the following lines to conf.php, everything works fine:
$conf['log']['priority'] = 'DEBUG';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;








More information about the bugs mailing list