Summary | Horde::LogMessage is broken during RPC access |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) , mrubinsk (at) horde (dot) org |
Requester | o+horde (at) immerda (dot) ch |
Created | 03/05/2013 (4504 days ago) |
Due | |
Updated | 03/06/2013 (4503 days ago) |
Assigned | 03/06/2013 (4503 days ago) |
Resolved | 03/06/2013 (4503 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 2b590ff47770c8b204f7e2602e209f557fc4dc02
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed Mar 6 12:39:03 2013 -0500
Prevent chicken/egg with the logger.
If we attempt to load the logger before horde's configuration is
fully loaded, we might not have the the logger settings available.
This will cause the injector factory to return a null logger. Since
the injector acts as a singleton in this case, we may never obtain
a correct logger.
Fixes
Bug: 12094framework/Core/lib/Horde.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/2b590ff47770c8b204f7e2602e209f557fc4dc02
State ⇒ Assigned
Summary ⇒ Horde::LogMessage is broken during RPC access
Assigned to
Assigned to Michael Rubinsky
reason, the very first time we get the logger from the injector there
is no logging config set. Since the injector acts as a singleton, we
never get the proper logger.
Still tracing why this happens.
injector if you select custom AS logging. Even then, only the
ActiveSync library uses $this->_logger. The global logger available
from the injector (which is what Horde::logMessage() uses) is
unchanged.
setup nothing is logged.
if i choose custom log, then everything logged via this->logger is
written to the custom log, everything else gets lost.
if i choose horde log, then everything is lost.
this only happens for active sync sessions.
so please reopen this bug. tell me if you need more info
Priority ⇒ 1. Low
State ⇒ Not A Bug
injector if you select custom AS logging. Even then, only the
ActiveSync library uses $this->_logger. The global logger available
from the injector (which is what Horde::logMessage() uses) is unchanged.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ during ActiveSync Horde::LogMessage is broken
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
produce any output to the horde log, but only the custom
$this->_logger does.
This is problematic since it hides relevant errors in other horde
components, e.g. the registry for auth errors.