Commit Graph

162 Commits

Author SHA1 Message Date
Timothy Stack
0dca44f487 [rebuild] add a deadline to make the UI more responsive 2021-05-26 22:09:47 -07:00
Timothy Stack
c3dc668b69 [remote] add some config options and remove the copied tailer binary
Also fix time offset issue
2021-05-19 22:05:21 -07:00
Timothy Stack
0dbe5f0f94 [logfile] increase format detection limit 2021-05-06 10:42:05 -07:00
Timothy Stack
f050c7b0a7 [remote] start to wire up remote support 2021-05-01 08:33:54 -07:00
Timothy Stack
94498878c8 [logfile_sub_source] try to avoid a full rebuild in some cases 2021-04-24 14:38:26 -07:00
Timothy Stack
32bfd76cdb [logfile] allow max unrecognized lines to be tuned 2021-03-29 22:40:22 -07:00
Timothy Stack
f6128240ab [sql] add lnav_top_file() SQL function 2021-03-07 14:29:22 -08:00
Timothy Stack
d45d7d6c58 [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
Timothy Stack
f5e88b7158 [docs] add ARCHITECTURE.md and various other things 2021-02-13 12:41:48 -08:00
Timothy Stack
cac1175973 [services] initial pass at injecting services and a bunch of other stuff 2021-01-23 13:00:51 -08:00
Timothy Stack
678be94d75 [files] use libarchive to decompress files
Fixes #87
2021-01-10 13:33:20 -08:00
Timothy Stack
9d6941c89d [readline] show help for SQL in :filter-expr 2020-12-08 13:24:29 -08:00
Timothy Stack
e3f28eaa43 [logfile] a captured file cannot be overwritten
Fixes #741
2020-12-07 15:21:33 -08:00
Timothy Stack
32f112b8de [formats] add w3c extended log format impl
Fiexes #798
2020-12-05 21:51:46 -08:00
Timothy Stack
19e0624ab6 [debt] even more mem leaks
Defect Number:
    Reviewed By:
   Testing Done:
2020-12-01 11:27:03 -08:00
Timothy Stack
22c2e95df0 [filters] sql filter
Related to #568
2020-11-29 13:20:07 -08:00
Timothy Stack
6d0054d3b6 [logfile] refactor visibility 2020-11-25 14:47:39 -08:00
Timothy Stack
51d1204a96 [arc] add content hash to archive temp dir and tech debt 2020-11-17 10:04:23 -08:00
Timothy Stack
9d87cfa2f0 [debt] more tech debt 2020-11-12 21:58:40 -08:00
Timothy Stack
db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
2020-11-09 22:17:17 -08:00
Timothy Stack
8b38bb0970 [session] store file visibility 2020-10-28 21:23:25 -07:00
Timothy Stack
7b77a612c2 [files] make file scanning async 2020-10-28 21:22:56 -07:00
Timothy Stack
dfd18a4be5 [view] add files view 2020-10-28 21:21:57 -07:00
Timothy Stack
3b0168025d [cmds] add support for hiding files 2020-10-28 21:18:57 -07:00
Timothy Stack
9f524136bd [fs] remove old filesystem impl 2020-10-20 22:55:46 -07:00
Timothy Stack
a3264fb104 [log_format] fix issues with year rollover
Defect Number:
    Reviewed By:
   Testing Done:
2020-09-08 22:11:32 -07:00
Timothy Stack
138a506b1a [perf] a few performance tweaks 2020-04-23 06:42:48 -07:00
Timothy Stack
92f28f1174 [logfile] cache line length to fix perf issues with JSON logs 2020-03-11 07:25:39 -07:00
Timothy Stack
73e902f7d8 [json-log] handle invalid json log lines
Header from folded patch 'foldme1.patch':

[local] foldme
2019-09-03 06:19:57 -07:00
Timothy Stack
34db64aa32 [logfile] the index rebuild didn't check the mtime if the file size was the same
Fixes #668
2019-07-25 07:31:46 -07:00
Timothy Stack
a9e9613214 [textfile] fix search issue 2019-06-18 06:28:40 -07:00
Timothy Stack
02c53976b4 Some refactoring for the line buffer and other cleanups
Fixes #649
2019-06-15 06:32:02 -07:00
Timothy Stack
0918063640 [cleanup] some modernization 2019-05-21 22:14:36 -07:00
Timothy Stack
c7046b0b54 [json] newlines in the line format cause problems
Fixes #644
2019-05-13 10:44:33 -07:00
Timothy Stack
104b8736e8 [vtab] fix for failed update to log_tags column and fix filtering with json logs 2019-02-01 13:31:28 -08:00
Timothy Stack
66ef968529 [logfile] fix a performance bug in searching json logs 2018-12-16 21:45:10 -08:00
Timothy Stack
2589345e5c [perf] improve initial indexing times 2018-10-17 07:03:33 -07:00
Timothy Stack
2e10ca09d0 [line_buffer] fix crlf handling in log files 2018-10-12 07:46:18 -07:00
Timothy Stack
5689984702 [yajlpp] use pointer to member over nullobj() 2018-05-25 06:32:01 -07:00
Timothy Stack
4ccae48aea [bookmarks] add support for tags and comments for log lines
Initial work for #446 and #447
  TODO: filtering on tags/comments

Also did a bunch of clang-tidy cleanups and improvements to
the online help.
2018-05-17 07:06:50 -07:00
Timothy Stack
af36896f50 [sanitize] some fixes for issues found in the address sanitizer 2018-04-09 08:20:24 -07:00
Timothy Stack
9f91d3b447 [log-view] display the unique parts of the file name instead of just the base
Instead of just displaying the base name of the file, try to include some
additional parts of the path that make a unique string.
2018-04-03 07:36:09 -07:00
Phil Hord
5a20829ed4 dynamic exception specifications are deprecated in C++11
Remove exception specifications to appease modern compilers and reduce
warning counts.

I sort of hate to remove all these exception-decls, but they are in fact
deprecated, and my compiler loves to complain.
2018-03-29 10:43:44 -07:00
Thomas Hurst
24aa8cfd61 [logfile] Fix format string in debug log.
Resolves a crash on startup on FreeBSD/i386.
2017-05-23 20:05:32 +01:00
Timothy Stack
d18b344489 [perf] avoid an initial forced index rebuild
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-25 06:55:07 -07:00
Timothy Stack
36e46fc67b [log] do a full sort if there is a year rollover
Fixes #437
2017-04-24 07:03:46 -07:00
Timothy Stack
8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 07:11:21 -07:00
Timothy Stack
34d1422b76 [highlight] only highlight keywords in text files
Fixes #408
2017-02-18 22:35:18 -08:00
Timothy Stack
f567aafe3b [c++11] migration #1
Just a start
2016-12-10 07:21:24 -08:00
Timothy Stack
7a6429519f [summary-line] change error count to error rate and do some cleanup on message levels 2016-03-24 23:58:25 -07:00
Timothy Stack
13c90726a2 [tests] some more testing and stats for logfiles 2016-03-23 22:14:59 -07:00
Timothy Stack
99eb3a54f3 [spectro] support marking lines in a bucket 2016-03-22 23:19:26 -07:00
Timothy Stack
e8f400abfa [logfile] truncation detection was not taking into account compressed files 2016-03-21 21:10:52 -07:00
Timothy Stack
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
8de5d3b749 [logfile] add more options when opening files 2016-03-12 14:12:23 -08:00
Timothy Stack
0f67f8d1f0 [logfile] multiline out-of-time-order messages were not being updated completely
Defect Number:
    Reviewed By:
   Testing Done:
2016-03-08 10:28:29 -08:00
Timothy Stack
9213a6b58b [out-of-order] some more tweaks for out-of-order 2016-03-07 21:17:57 -08:00
Timothy Stack
0f33256482 [debug] cleanup some logging and use the original time from out-of-order json logs 2016-03-04 05:49:59 -08:00
Timothy Stack
53e2d92eef [ui] highlight out-of-time-order messages in yellow with an underline 2016-03-03 06:05:26 -08:00
Timothy Stack
6e196bff79 [line_buffer] clear cached data when doing a read 2015-12-22 22:44:42 -08:00
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.
2015-11-27 12:47:42 -08:00
Timothy Stack
91406be91e [nav] add "opid" support with a hotkey 2015-11-24 20:59:24 -08:00
Timothy Stack
69e927e91b [coverity] some more fixes 2015-09-19 20:30:39 -07:00
Timothy Stack
b4cb092ce1 [view] stop scrolling to the right when the end is reached
Fixes #84
2015-08-14 20:45:23 -07:00
Timothy Stack
7ef92dab79 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
Timothy Stack
504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 2015-06-03 06:36:58 -07:00
Timothy Stack
d6d652ec38 various tweaks 2015-04-07 06:09:49 -07:00
Timothy Stack
44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
2015-03-28 06:30:30 -07:00
Timothy Stack
12b81fe4e7 [format] fix full message read for json formats 2015-03-18 22:57:30 -07:00
Timothy Stack
1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 2015-03-16 09:16:49 -07:00
Timothy Stack
cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 06:07:36 -08:00
Timothy Stack
708490e3b0 [mem] some more memory reductions
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-31 13:16:35 -07:00
Timothy Stack
f410c9eeb8 [logfile] try to reduce memory usage a bit
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-31 11:11:56 -07:00
Timothy Stack
d4bea593b7 [perf] optimize json log loading 2014-10-28 07:02:27 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Timothy Stack
f37ec555bf [logfile] check for truncated files 2014-04-18 05:17:24 -07:00
Timothy Stack
72e3a4d8df [format] add TCF file format and some fixes to make it work
Defect Number:
    Reviewed By:
   Testing Done:
2014-04-06 22:11:04 -07:00
Timothy Stack
4ce9a1e871 [elapsed-time] add a visual indicator for sharp changes in message rate 2014-03-16 15:07:08 -07:00
Timothy Stack
d17f7b1940 [cmd] add set-min-log-level command
Part of #82
2014-03-16 02:46:17 -07:00
Timothy Stack
9ff2d3774d [line_buffer] split long lines
Fixes #81
2014-03-15 04:40:58 -07:00
Timothy Stack
b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-03-06 06:58:49 -08:00
Timothy Stack
9848582239 fix an error when parsing json logs 2014-03-02 15:19:34 -08:00
Timothy Stack
169a5bd732 [misc] some more tweaks to the last few changes 2014-03-02 11:56:58 -08:00
Timothy Stack
10eb9617b1 [sql] add a bookmark column to the log tables 2014-03-01 23:40:12 -08:00
Timothy Stack
5ef8a168a7 [perf] reduce copies of log messages 2014-02-01 06:41:11 -08:00
Timothy Stack
3259bde974 [nits] use pcrepp for filtering and fix sigabrt received when loading is interrupted 2014-01-20 07:18:15 -08:00
Timothy Stack
73bde9dee3 [filter] fix problems with filtering multi-line log messages 2014-01-15 07:05:15 -08:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
001f9abdef [cmd] open/close file commands 2013-09-14 12:30:57 -07:00
Timothy Stack
c59acba758 [format] initial support for json formats and some bug fixes 2013-09-10 06:20:37 -07:00
Timothy Stack
37283d0afb [nits] do not complain about no formats 2013-07-30 21:21:28 -07:00
Timothy Stack
c28b9f1316 [highlight] add some more highlighting and fix some other nits 2013-07-13 07:36:48 -07:00
Timothy Stack
2772064c7f [nits] minor tweaks and bug fixes 2013-07-08 21:09:35 -07:00
Timothy Stack
3e480b5bad [bookmark] add support for metadata attached to bookmarks 2013-07-05 09:14:39 -07:00
Timothy Stack
79c4038128 [log time] add a command to adjust log message times 2013-06-30 16:43:08 -07:00
Timothy Stack
972fe9f9c9 [syslog] fix syslog timestamps 2013-06-29 12:02:08 -07:00
Tim Stack
76bc85c43b [build] fix for linux 2013-06-29 11:52:15 -07:00
Timothy Stack
2d33cb7f7e [log format] some more log format work 2013-06-29 11:00:34 -07:00
Timothy Stack
bb62711678 [yajlpp] support for array indexes in paths; also force log times to be in order 2013-06-25 18:52:51 -07:00
Timothy Stack
6535b03b6e [log] try to cache the results of filtering so we do not always recompute 2013-06-22 13:44:50 -07:00