Skip to content

Instantly share code, notes, and snippets.

@sirhopcount
Forked from guixing/phperrorlog_patterns
Created June 11, 2014 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirhopcount/f3af7755d1344c703785 to your computer and use it in GitHub Desktop.
Save sirhopcount/f3af7755d1344c703785 to your computer and use it in GitHub Desktop.
PHP_TS %{MONTHDAY}[/-]%{MONTH}[/-]%{YEAR} %{TIME}
PHP_LOG \[%{PHP_TS:timestamp}\]( PHP %{LOGLEVEL:level}:)? %{GREEDYDATA:message}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment