Laravel 4
"laravel": {
"display" : "Laravel",
"path" : ".../app/storage/logs/laravel.log",
"refresh" : 1,
"max" : 15,
"notify" : true,
"format" : {
"multiline" : "",
"regex" : "|^\\[(.*)\\] (.*)\\.(.*): (.*)( in (\\/(.*)):([0-9]*))*$|U",
"match" : {
"Date" : 1,
"Env" : 2,
"Severity" : 3,
"Error" : 4,
"File" : 6,
"Line" : 8
},
"types" : {
"Date" : "date:H:i:s",
"Severity" : "badge:severity",
"Error" : "pre",
"Env" : "txt",
"File" : "txt\/-20",
"Line" : "numeral"
}
}
}
It matches these logs:
[2014-04-29 15:35:31] dev.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in Illuminate/Database/Connectors/Connector.php:47
Stack trace:
#0 .../laravel/framework/src/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=loca...
#1 .../laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connecto...
#2 .../laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(59): Illuminate\Database\Conne...
#3 .../laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(47): Illuminate\Database\Conne...
#4 .../laravel/framework/src/Illuminate/Database/DatabaseManager.php(127): Illuminate\Database\Connectors\Connec...
#5 ...