Timothy Stack
0f33256482
[debug] cleanup some logging and use the original time from out-of-order json logs
9 years ago
Timothy Stack
d12fe9e0a9
[json] add some schema validation code
9 years ago
Timothy Stack
c4ae8d158c
[fmt] minor fix for the generic_log format and add another pattern to vmw_log
9 years ago
Timothy Stack
aa0999bd0e
[opid] missed adding opid to the json log and some other bug fixes
...
Defect Number:
Reviewed By:
Testing Done:
9 years ago
Timothy Stack
8964232374
[json] fixes for json log parsing
...
I was careless with the initial json log impl since it did not deal
with incomplete log lines very well. This seems to fix some cases.
But, I was still able to replicate a lockup at one point, so it
might not be complete.
9 years ago
Timothy Stack
91406be91e
[nav] add "opid" support with a hotkey
9 years ago
Timothy Stack
ec473edc85
[cmd] add support for times in goto
9 years ago
Timothy Stack
87cfe63613
fix an issue with module formats
9 years ago
Timothy Stack
5bb0599d7e
[fmt] add a sudo_log format
9 years ago
Timothy Stack
83b92c3b65
[papertrail] add support for time ranges
9 years ago
Timothy Stack
82574e2e27
[line_buffer] missed invalidating a sb ref
9 years ago
Timothy Stack
9496a960f6
[check] print the partial match of non-matching lines when checking a log file
9 years ago
Timothy Stack
3a87a65ab2
[fmt] add warnings for missing fields
9 years ago
Timothy Stack
27bb9bb2ee
[fmt] highlight identifiers in module formats
9 years ago
Timothy Stack
3f4e11a693
[fmt] first pass at supporting sub-formats (called module formats)
9 years ago
Timothy Stack
7ef92dab79
[format] try to validate formats against a given file
9 years ago
Timothy Stack
879bbd581e
[pt] rough draft of tail for papertrail
9 years ago
Timothy Stack
4ceddbe82e
[ptimec] fix handling of month in interpreted formats
...
Also missed the null terminator on the list of custom
timestamp formats.
9 years ago
Timothy Stack
504b5747fe
[sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes
9 years ago
Suresh Sundriyal
e9c48fbf39
[log_format] Don't capture the sub-groups.
...
I don't think there is any reason to capture the (OR) sub-group in
ERR(OR) separately.
10 years ago
Timothy Stack
cec3d0cb72
[generic_log] add time format that includes zone
10 years ago
Timothy Stack
94459f2cb1
[generic_log] fix log levels for generic_log
10 years ago
Timothy Stack
1d0233bbfa
[json-format] support for full paths
10 years ago
Timothy Stack
245a3c3d1b
[fmt] allow timestamp to be specified in the log format
...
Fixes #155
10 years ago
Timothy Stack
ae64b599bd
[format] add more log levels and fix some more pretty-printer glitches
...
Fixes #212
10 years ago
Timothy Stack
a300ce9977
[format] order the formats based on sample matches
10 years ago
Suresh Sundriyal
ff4db03d5b
[-Wsign-compare *&& -Wuninitailzed] log_format.cc
10 years ago
Suresh Sundriyal
6a2c28450e
[Coverity] Initialize class variables.
10 years ago
Suresh Sundriyal
74de13e2c9
Remove unused 'strncasestr_i'.
...
The function is not really used anywhere and does not really do what the
name suggests it should. It leads to compiler warnings about 'unused'
function. Removing this for now.
10 years ago
Suresh Sundriyal
1c0d3a4f5a
[Warnings] varargs with reference parameters.
...
'va_start' has undefined behvaior with reference types, so use a pointer instead.
10 years ago
Timothy Stack
12b81fe4e7
[format] fix full message read for json formats
10 years ago
Timothy Stack
c80e181790
fix ptime_b_slow, again...
10 years ago
Timothy Stack
cfa628f6c4
various fixes
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
c5c37a3202
[vmw_log] update the formats for the vmw_log format
10 years ago
Timothy Stack
cd953a548c
[filter] update the UI during filtering again
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
708490e3b0
[mem] some more memory reductions
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
6c1dfe3521
[yajl] add a yajl_reset() so we do not have to do yajl_alloc for every line
10 years ago
Timothy Stack
ccee7caa32
[yajl] bump to version 2.1.0
10 years ago
Timothy Stack
996e665078
fix an invalid read error
10 years ago
Timothy Stack
d4bea593b7
[perf] optimize json log loading
10 years ago
Timothy Stack
a71ca1f1ca
[filter] some improvements to the core filtering code
10 years ago
Timothy Stack
ccf29b3bac
[coverity] some cleanup and add the chunky_index
10 years ago
Timothy Stack
dc4949305d
ignore bad json lines
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
d557002724
[format] add OpenAM log formats
10 years ago
Timothy Stack
1974e1f1ae
[jsonptr] initial impl
11 years ago
Timothy Stack
72e3a4d8df
[format] add TCF file format and some fixes to make it work
...
Defect Number:
Reviewed By:
Testing Done:
11 years ago
Timothy Stack
8372cef11c
[date] code generator for strptime formats
11 years ago
Timothy Stack
d17f7b1940
[cmd] add set-min-log-level command
...
Part of #82
11 years ago
Timothy Stack
cbd8308b36
[cmd] use wordexp in the open command
11 years ago
Timothy Stack
06974bc942
[json-log] some tweaks to json-log support
11 years ago
Timothy Stack
b6baae7730
[debug] more debugging stuff
...
Defect Number:
Reviewed By:
Testing Done:
11 years ago
Timothy Stack
169a5bd732
[misc] some more tweaks to the last few changes
11 years ago
Timothy Stack
5a04a44381
[tests] add some tests that use headless mode
11 years ago
Timothy Stack
64fe8175a6
[log] add an internal logger instead of using redirected stderr
11 years ago
Timothy Stack
7958c54fd0
[sql] use the default sqlite datetime format so collating works
11 years ago
Timothy Stack
1bb17a0b96
[sql] add a collator for log level
...
Fix for #77
11 years ago
Timothy Stack
8b11813463
[format] cache indexes to pcre named captures
11 years ago
Timothy Stack
5ef8a168a7
[perf] reduce copies of log messages
11 years ago
Timothy Stack
e200f60a96
[format] avoid making a copy of the string in logline_value and reduce UI updates
11 years ago
Timothy Stack
f4aeb11ad5
[view_curses] use a vector for string attributes
...
Using a map/multimap is too expensive/complex for how many
attributes we have on a line due to how many tree nodes
need to be malloced/freed. Just using a vector should be
good enough and a lot faster.
11 years ago
Timothy Stack
bd7b14965b
[log-data] fix the column type for numbers
11 years ago
Timothy Stack
59c1d4313b
[mouse] more mouse support and other fixes
11 years ago
Timothy Stack
8eb4b02f97
[yajlpp] some optimizations for json log parsing
11 years ago
Timothy Stack
a8c3a8c80b
[docs] json format docs and some build fixes
11 years ago
Timothy Stack
c59acba758
[format] initial support for json formats and some bug fixes
11 years ago
Timothy Stack
83f94cea86
[log-format] regex config format redux
11 years ago
Timothy Stack
37283d0afb
[nits] do not complain about no formats
11 years ago
Timothy Stack
9b8ceb5cb0
[log formats] transfer more formats to config
11 years ago
Timothy Stack
af6e289cda
[log format] add scaling factors
11 years ago
Timothy Stack
e75f42dd07
[data parser] hex dump values and add the uwsgi log format
11 years ago
Timothy Stack
3ee6dbf824
[sql] log table nits
11 years ago
Timothy Stack
c28b9f1316
[highlight] add some more highlighting and fix some other nits
11 years ago
Timothy Stack
79c4038128
[log time] add a command to adjust log message times
11 years ago
Timothy Stack
33c7f57979
[ext log] add support for samples
11 years ago
Timothy Stack
2d33cb7f7e
[log format] some more log format work
11 years ago
Timothy Stack
2cd356b4c5
[log format] some more work to externalize log formats; color identifiers in logs
11 years ago
Timothy Stack
f1087184d6
[log format] lay some foundation for making log formats configurable
11 years ago
Timothy Stack
df80972d5d
[log format] generic prefix len
11 years ago
Timothy Stack
5a7d6dab2c
[cleanup] uncrustify
11 years ago
Timothy Stack
5d478fc17a
[cleanup] start a tracer/debugger for the data parser
11 years ago
Timothy Stack
178937886c
[cmd] add summarize command
11 years ago
Timothy Stack
5e18f47cd2
[nits] fix some recently introduced bugs and some long standing ones
11 years ago
Timothy Stack
865849f017
[spam] uncrustify pass
12 years ago
Timothy Stack
b04e6bfc78
[glog] some tweaks to the glog change
...
Some changes to the glog_log sql table:
* Removed the 'glog_level' field since the standard one should be able to
handle everything now.
* Changed the 'file' column to 'src_file' and added a 'src_line' column.
* Added the sample glog log content to the test directory.
12 years ago
Timothy Stack
f62b5c271c
[release] bump to 0.5.1
12 years ago
Timothy Stack
c6c19eabb5
[generic log format/misc] try to pull millisecond value out of the log
...
* log_format.cc, log_format_impls.cc, log_format.hh: Change
log_scanf to return a pointer to the character in the
time string that was not part of the time. Change the
generic log format to try and pull out the millisecond
value from the timestamp.
* test/Makefile.am: Fix some dist problems.
* test/logfile_generic.0: Test logfile for the generic log format.
12 years ago
Timothy Stack
b68a1bba9b
[test] some cleanup for tests and other things
...
Just a cleanup pass
13 years ago
Tim Stack
9fb10d5340
fix some bugs on OS X and fix a bug that caused style attributes
...
to be misaligned for lines with tabs in them.
14 years ago
tstack
fd7d59383b
search fixes
14 years ago
tstack
e1c309c49f
Merge branch 'master' of git@github:tstack/lnav
15 years ago
tstack
c09aa3ba70
fix some minor build issues
15 years ago
Timothy Stack
3735fccda2
clean up some auto conf and add an strace test
15 years ago
Timothy Stack
1d40a8edcf
build work
15 years ago
tstack
905b33d9a6
fix make distcheck
15 years ago
tstack
335dbadb22
random fixes
15 years ago
tstack
b4ec432515
first commit
15 years ago