0

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

luka
  • 317
  • 4
  • 10
  • found it, just pass it this array and it's off array('rootLogger' => array('level' => 'WARN')) – luka Aug 20 '13 at 13:06

1 Answers1

0

This works for me:

$options = array('threshold'=>'off');
Logger::configure($options);
Sven
  • 69,403
  • 10
  • 107
  • 109