PHP ERROR FORMAT DIFFERENT

Panseriya's Avatar

Panseriya

21 Aug, 2017 03:34 PM

My local Apache server log php error in the following format

[21-Aug-2017 10:52:07 UTC] PHP Fatal error: Class 'Test' not found in /test.php on line 2

This error display properly via pimpmylog

Whereas on the linode server PHP logs error in the following format
[Mon Aug 21 15:01:12.008792 2017] [:error] [pid 18575] [client 22x.xxx.xx.xxx:39482] PHP Fatal error: Class 'Test' not found in /test.php on line 2

pimpmylog do not display above format.

We need to display second php error log format. Please let us know how to do it.

Thanks,
Panseriya

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac