mirror of https://github.com/tstack/lnav.git
Merge pull request #760 from sureshsundriyal/master
Minor changes to quell some compiler warnings and other miscellaneous changes.
This commit is contained in:
commit
c3f7eac29d
2
AUTHORS
2
AUTHORS
|
@ -13,7 +13,7 @@ Christopher Meng
|
|||
Salvatore Bonaccorso
|
||||
Henrietta Stack
|
||||
Pablo Iranzo Gómez
|
||||
androm3da (https://github.com/androm3da)
|
||||
Brian Cain
|
||||
Paul Wayper
|
||||
Adam Spiers
|
||||
Kevin Pham
|
||||
|
|
|
@ -323,8 +323,11 @@ void log_msg_extra_complete()
|
|||
static void sigabrt(int sig)
|
||||
{
|
||||
char crash_path[1024], latest_crash_path[1024];
|
||||
int fd, frame_count;
|
||||
int fd;
|
||||
#ifdef HAVE_EXECINFO_H
|
||||
int frame_count;
|
||||
void *frames[128];
|
||||
#endif
|
||||
struct tm localtm;
|
||||
time_t curr_time;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?(?:Z|[-+]\\d{2}:\\d{2})) (?<prc>[^:]+):\\s+(?<tid>\\w+):\\s+(?<comp>[^:]+):(?<line>\\d+)?\\s+(?<level>\\w+):?\\s+(?<body>.*)(?:\\n(?:.|\\n)*)?$"
|
||||
},
|
||||
"vum-log4cpp": {
|
||||
"pattern": "^\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?<category>[^']*)' (?<tid>\\d+) (?<level>EMERG|FATAL|ALERT|CRIT|ERROR|WARN|NOTICE|INFO|DEBUG|NOTSET)\\]\\s+(\\[(?<file>\\S+), (?<line>\\d+)\\])? (?<body>.*$)"
|
||||
"pattern": "^\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?<category>[^']*)' (?<tid>\\d+) (?<level>[a-zA-Z]+)\\]\\s+(?>\\[(?<file>\\S+), (?<line>\\d+)\\])? (?<body>.*$)"
|
||||
}
|
||||
},
|
||||
"level-field": "level",
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
#ifndef _lnav_config_hh
|
||||
#define _lnav_config_hh
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
Loading…
Reference in New Issue