mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
SetupLog : ease changing manually the default level
In setup no conf file available so the log_level_min config option cannot be read A solution is to manually change this constant
This commit is contained in:
@@ -686,6 +686,12 @@ abstract class LogAPI
|
|||||||
class SetupLog extends LogAPI
|
class SetupLog extends LogAPI
|
||||||
{
|
{
|
||||||
const CHANNEL_DEFAULT = 'SetupLog';
|
const CHANNEL_DEFAULT = 'SetupLog';
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*
|
||||||
|
* As this object is used during setup, without any conf file available, customizing the level can be done by changing this constant !
|
||||||
|
*/
|
||||||
|
const LEVEL_DEFAULT = self::LEVEL_INFO;
|
||||||
|
|
||||||
protected static $m_oFileLog = null;
|
protected static $m_oFileLog = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user