mirror of https://github.com/tstack/lnav.git
[vdsm_log] add new format
This commit is contained in:
parent
244ee2717f
commit
fc31831286
3
NEWS
3
NEWS
|
@ -1,4 +1,7 @@
|
|||
|
||||
lnav v0.7.2:
|
||||
* Added a log format for vdsm.
|
||||
|
||||
lnav v0.7.1:
|
||||
Features:
|
||||
* Added an 'environ' SQL table that reflects lnav's environment
|
||||
|
|
|
@ -663,6 +663,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"vdsm_log" : {
|
||||
"title" : "Vdsm Logs",
|
||||
"description" : "The Open Virtual Datacenter VDSM log format",
|
||||
"url" : "http://www.ovirt.org/Vdsm_Log_Files",
|
||||
"regex" : {
|
||||
"std" : {
|
||||
"pattern" : "^(?<tid>.+)::(?<level>.+)::(?<timestamp>.+)::(?<module>.+)::(?<src_line>.+)::(?<logger>.+)::\\((?<func>[^\\)]+)\\)(?<body>(?:.|\\n)*)"
|
||||
}
|
||||
},
|
||||
"level" : {
|
||||
"error" : "ERROR",
|
||||
"debug" : "DEBUG",
|
||||
"info" : "INFO",
|
||||
"warning" : "WARNING"
|
||||
},
|
||||
"value" : {
|
||||
"tid" : {
|
||||
"kind" : "string",
|
||||
"identifier" : true
|
||||
},
|
||||
"module" : {
|
||||
"kind" : "string",
|
||||
"identifier" : true
|
||||
},
|
||||
"src_line" : {
|
||||
"kind" : "integer",
|
||||
"foreign-key" : true
|
||||
},
|
||||
"logger" : {
|
||||
"kind" : "string",
|
||||
"identifier" : true
|
||||
},
|
||||
"func" : {
|
||||
"kind" : "string",
|
||||
"identifier" : true
|
||||
}
|
||||
},
|
||||
"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)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"vmw_log" : {
|
||||
"title" : "VMware Logs",
|
||||
"description" : "One of the log formats used in VMware's ESXi and vCenter software.",
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
MainThread::INFO::2011-12-05 07:04:56,101::vdsm::71::vds::(run) I am the actual vdsm 4.9-0
|
||||
MainThread::ERROR::2011-12-05 07:04:56,300::vdsm::74::vds::(run) Traceback (most recent call last):
|
||||
File "/usr/share/vdsm/vdsm", line 72, in run
|
||||
serve_clients(log)
|
||||
File "/usr/share/vdsm/vdsm", line 40, in serve_clients
|
||||
cif = clientIF.clientIF(log)
|
||||
File "/usr/share/vdsm/clientIF.py", line 111, in init
|
||||
self._libvirt = libvirtconnection.get()
|
||||
File "/usr/share/vdsm/libvirtconnection.py", line 111, in get
|
||||
conn = libvirt.openAuth('qemu:///system', auth, 0)
|
||||
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth
|
||||
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
|
||||
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
|
||||
Thread-15::DEBUG::2011-12-07 11:44:17,737::clientIF::54::vds::(wrapper) [10.35.17.240]::call getVdsCapabilities with () {}
|
||||
Thread-16::DEBUG::2011-06-23 19:03:11,607::clientIF::225::Storage.Dispatcher.Protect::(wrapper) [10.35.16.71]
|
||||
Thread-1950::INFO::2011-12-07 12:14:15,018::dispatcher::94::Storage.Dispatcher.Protect::(run) Run and protect: getDeviceList, args: ( storageType=2)
|
Loading…
Reference in New Issue