-
Type:
Bug
-
Status: QA
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.1, 2.5.1 beta 1
-
Component/s: None
-
Labels:None
EGroupware currently updating from z-push 2.3.x to lastet 2.5.0 installed via composer (https://packagist.org/packages/egroupware/z-push-dev from our own GitHub fork of z-push. I'm more then happy to use an official z-push composer package, if there were one.)
We call ZLog::SpecialLogUser() to get a log for a specific device and have LOGUSERLEVEL = LOGLEVEL_DEVICEID, to log the XML.
This no longer works, as WBXML-decoder and -encoder call ZLog::IsWbxmlDebugEnabled(), which does not take the ZLog::SpecialLogUser() into account.
Either ZLog::SpecialLogUser() must track and report it in ZLog::IsWbxmlDebugEnabled(), or the logger-backend eg.
public function HasSpecialLogUsers()
Or we need an other way to enable a device-specific log.
I'm happy to implement or fix it, thought I want to ask first how you want to have it done
Ralf