log_threshold more than 0 breaks site |
I want to use log_message() to output data into my log files, but as soon as I edit config.php and set $config['log_threshold'] to anything other than 0, my site starts throw 504 timeout errors. I have the logs directory chmod 777 (its just a dev site) and I left the path empty in the config file.
Any ideas? Current version of CI, Centos 7, PHP 7. $config['log_threshold'] = 2;| $config['log_path'] = ''; $config['log_file_extension'] = ''; $config['log_file_permissions'] = 0644; $config['log_date_format'] = 'Y-m-d H:i';
(06-02-2017, 05:22 PM)iampuping Wrote: I want to use log_message() to output data into my log files, but as soon as I edit config.php and set $config['log_threshold'] to anything other than 0, my site starts throw 504 timeout errors. I have the logs directory chmod 777 (its just a dev site) and I left the path empty in the config file. $config['log_threshold'] = 2;| <- remove the pipe
|
Welcome Guest, Not a member yet? Register Sign In |