@ -1162,11 +1162,14 @@
]
]
} ,
} ,
"vdsm_log" : {
"vdsm_log" : {
"title" : "Vdsm Logs" ,
"title" : "Vdsm Logs" ,
"description" : "The Open Virtual Datacenter VDSM log format",
"description" : "Vdsm log format",
"url" : "http://www.ovirt.org/Vdsm_Log_Files ",
"url" : "http://www.ovirt.org/develop/developer-guide/vdsm/log-files/ ",
"regex" : {
"regex" : {
"std" : {
"v4.1" : {
"pattern" : "(?s)^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}(?:\\+\\d{4})?) (?<level>\\w+)\\s+\\((?<thread>.+?)\\) \\[(?<logger>.+?)\\]\\s+?(?<body>(?:.|[\\r\\n])*?)\\s+?\\((?<src_file>\\w+?):(?<src_line>\\d+)\\)(\\n(?<traceback>Traceback.*?)(?=\\n(?P=timestamp)|$))?"
} ,
"v4" : {
"pattern" : "^(?<tid>.+)::(?<level>.+)::(?<timestamp>.+)::(?<module>.+)::(?<src_line>.+)::(?<logger>.+)::\\((?<func>[^\\)]+)\\)(?<body>(?:.|\\n)*)"
"pattern" : "^(?<tid>.+)::(?<level>.+)::(?<timestamp>.+)::(?<module>.+)::(?<src_line>.+)::(?<logger>.+)::\\((?<func>[^\\)]+)\\)(?<body>(?:.|\\n)*)"
}
}
} ,
} ,
@ -1175,7 +1178,9 @@
"error" : "ERROR" ,
"error" : "ERROR" ,
"debug" : "DEBUG" ,
"debug" : "DEBUG" ,
"info" : "INFO" ,
"info" : "INFO" ,
"warning" : "WARNING"
"warning" : "WARNING|WARN" ,
"critical" : "CRIT" ,
"trace" : "TRACE"
} ,
} ,
"value" : {
"value" : {
"tid" : {
"tid" : {
@ -1197,11 +1202,24 @@
"func" : {
"func" : {
"kind" : "string" ,
"kind" : "string" ,
"identifier" : true
"identifier" : true
}
} ,
"thread" : {
"kind" : "string" ,
"identifier" : true
} ,
"src_file" : {
"kind" : "string" ,
"identifier" : true
} ,
"traceback" : {
"kind" : "string" ,
"identifier" : true
}
} ,
} ,
"sample" : [
"sample" : [
{
{
"line" : "Thread-1950::INFO::2011-12-07 12:14:15,018::dispatcher::94::Storage.Dispatcher.Protect::(run) Run and protect: getDeviceList, args: ( storageType=2)"
"line" : "Thread-1950::INFO::2011-12-07 12:14:15,018::dispatcher::94::Storage.Dispatcher.Protect::(run) Run and protect: getDeviceList, args: ( storageType=2)" ,
"line" : "2017-03-06 14:49:05,167+0200 INFO (vm/9e5dd42e) [virt.vm] (vmId='9e5dd42e-5177-4da3-a6ce-87fa2052d315') (vm:2104)"
}
}
]
]
} ,
} ,