what are cofigure options for log4php to disable logging?

294 Views Asked by At

This method Logger::configure($options); of log4php is used to configure logging options. How should $options argument look like to disable log4php completely?

1

There are 1 best solutions below

0
On

This works for me:

$options = array('threshold'=>'off');
Logger::configure($options);