#80: Logger always uses default_log_settings?
----------------------------+-----------------------------------------------
Reporter: bobchin | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 1.0
Component: Active Support | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by firodj):
it seems the value of `$this->mode` in line 112 in patched version:
{{{
#!php
$this->mode = defined('AK_LOGGER_'.$error_mode) ?
constant('AK_LOGGER_'.$error_mode) : $this->default_log_settings;
}}}
is same with `$event_code` value.
And why the `$event_code` variable is not used in this `_log` function?
--
Ticket URL: <
http://trac.akelos.org/ticket/80#comment:1>