Commit Graph

104 Commits

Author SHA1 Message Date
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
Timothy Stack
d72cab0c1e [log_format] the access_log format wasn't picking up the timestamp range correctly 2013-06-22 07:00:59 -07:00
Timothy Stack
865849f017 [spam] uncrustify pass 2013-05-27 21:35:00 -07:00
Timothy Stack
f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -07:00
Timothy Stack
772b28dc01 [highlight] tweak some of the highlight regexes 2013-04-23 09:25:18 -07:00
Timothy Stack
d4f170e747 cppcheck fixes 2013-04-17 09:27:12 -07:00
Timothy Stack
61f15891ec [display] Some log line display enhancements
This change adds back support for line scrubbing and
adds a column that displays the time offset from
different points in the file.  Also, try to handle
deleted files by dropping their lines from the display
view.

 * help.txt: Update the help text for the new features.
 * lnav.cc: Add scrub/time-offset key bindings.  Also
   added some more comments and added some handling for
   deleted files.
 * log_format_impls.cc: Add scrubbing for the generic
   log format that shortens timestamps and RDNS strings.
 * logfile_sub_source.cc: Add a time-offset column to
   the display.
 * textview_curses.cc: Some cleanup.
2012-10-29 16:38:58 -07:00
Timothy Stack
b68a1bba9b [test] some cleanup for tests and other things
Just a cleanup pass
2012-06-05 13:18:59 -07:00
Tim Stack
123052a48a automatically detect files that have been rotated and load them in 2011-08-06 09:33:55 -07:00
Timothy Stack
c268760e2e Hopefully fix a bug when progressively reading from a file and
add some comments.
2010-04-17 21:02:51 -07:00
Timothy Stack
3f6212766a Fix for line buffers growing too large 2010-01-10 11:40:38 -08:00
Timothy Stack
1d40a8edcf build work 2009-10-14 12:42:58 -07:00
tstack
b4ec432515 first commit 2009-09-13 18:07:32 -07:00