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:
Pierre Goiffon
2020-05-28 11:40:22 +02:00
parent 0e5a501b2a
commit 336637a7a4

View File

@@ -686,6 +686,12 @@ abstract class LogAPI
class SetupLog extends LogAPI
{
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;
}