Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make apache error log entries longer

I'm sending some rather long stack traces to the apache error log using php's 'error_log()' and the entries are getting truncated. I have not found a way to make entries longer. Any ideas?

like image 566
rocketas Avatar asked Jun 13 '12 18:06

rocketas


1 Answers

The default limit on the maximum length of error message passing through error_log() is 1024 bytes.

Detailed information there http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors-max-len

like image 156
AlexeyKa Avatar answered Nov 08 '22 14:11

AlexeyKa