today, I noticed the file in /tmp/cache/debug.log with today's timestamp.
Since I do not have debug_to_log enabled in the config.php, I wondered, why this file was created anyways.
I found the function in /lib/misc.functions.php with that condition:
Code: Select all
function debug_to_log($var, $title='',$filename = '')
{
$config = \cms_config::get_instance();
if( $config['debug_to_log'] || (function_exists('get_userid') && get_userid(FALSE)) ) {
Does that mean, the debug.log gets created even it's NOT activated in the config.php file?