Commit Graph

159 Commits

Author SHA1 Message Date
Timothy Stack
b296e84a65 [format] color extra json fields that are identifiers 2016-10-29 22:16:45 -07:00
Timothy Stack
41854cf637 [json-log] custom date formats
Fixes #341
2016-08-18 22:15:35 -07:00
Timothy Stack
efc74a5a0e [docs] some minor doc updates 2016-04-05 06:22:25 -07:00
Timothy Stack
4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
2016-04-02 20:58:20 -07: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
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
f81d4aefd8 [logview] some more work on highlighting out-of-time-order messages 2016-03-05 14:20:14 -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
89be76ef42 [filters] clear the state for filters that have been deleted
Fixes #292
2016-02-24 23:42:02 -08:00
Timothy Stack
224a7196e4 [cmd] hide lines commands 2015-12-05 20:38:21 -08:00
Timothy Stack
ecd3eb05bc [coverity] next set of fixes 2015-09-19 21:13:46 -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
27bb9bb2ee [fmt] highlight identifiers in module formats 2015-07-19 02:40:02 -07:00
Timothy Stack
04f8ceadab [file-marker] some more cleanup 2015-05-14 22:07:28 -07:00
Timothy Stack
b8b16bd8e5 [view] differentiate messages from different log files 2015-05-13 22:13:47 -07:00
Timothy Stack
38e56b63ea [hist] fix the histogram when filters change 2015-04-04 13:36:53 -07:00
Suresh Sundriyal
8c329130ed [-Wsign-compare] logfile_sub_source.cc 2015-04-02 01:40:21 -07:00
Timothy Stack
033c861028 [cmd] next/prev-mark commands 2015-03-29 14:50:34 -07:00
Timothy Stack
0b816dd45d [nav] fix time-based navigation when filtering is active 2015-01-25 20:51:21 -08:00
Timothy Stack
c2e44c5998 [filter] fix for multiple filter-ins being applied 2014-12-10 07:03:01 -08:00
Timothy Stack
cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-11 21:18:55 -08: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
cde87f0a11 [log_sub_source] fix the filtered count
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-02 19:46:53 -08:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -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
1de4838cf5 [index] allow for larger file sizes
Fixes #76

Max line count for a file is 256 million and the
max number of files is 4096.
2014-03-09 23:38:30 -07:00
Timothy Stack
8455257aad fix coloring for the timestamp when in time-offset mode 2014-03-07 17:31:33 -08:00
Timothy Stack
d993d0e8c6 [partition] make partitions a separate bookmark type 2014-03-07 05:20:49 -08:00
Timothy Stack
b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-03-06 06:58:49 -08:00
Timothy Stack
c780ddb9af [mouse] more small fixes for mouse support (dragging) 2014-03-03 21:02:59 -08:00
Timothy Stack
10eb9617b1 [sql] add a bookmark column to the log tables 2014-03-01 23:40:12 -08:00
Timothy Stack
2dd2b02e1b [headless] add options for usage without the UI 2014-02-28 20:35:07 -08:00
Timothy Stack
5ef8a168a7 [perf] reduce copies of log messages 2014-02-01 06:41:11 -08:00
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.
2014-01-25 09:29:35 -08:00
Timothy Stack
9906e949cf [overlay] clear overlay when file is removed 2014-01-16 06:37:02 -08:00
Timothy Stack
73bde9dee3 [filter] fix problems with filtering multi-line log messages 2014-01-15 07:05:15 -08:00
Timothy Stack
7feeaf0fde highlighting nits and fix filtering
Defect Number:
    Reviewed By:
   Testing Done:
2014-01-13 21:58:04 -08:00
Timothy Stack
7df2470624 [wrap] compute line size for logs and cache the value 2013-11-09 17:14:40 -08:00
Timothy Stack
c3d51190c8 [wrap] start support for word wrapping and fix a variety of glitches 2013-11-06 07:29:20 -08:00
Timothy Stack
c59acba758 [format] initial support for json formats and some bug fixes 2013-09-10 06:20:37 -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
2cd356b4c5 [log format] some more work to externalize log formats; color identifiers in logs 2013-06-29 06:22:24 -07:00
Timothy Stack
6d77a7412e [pcrepp] add support for named captures and fix some other bugs 2013-06-24 18:08:43 -07:00
Timothy Stack
8908e2569f [parser] fix some parser issues; and a fix for my last checkin 2013-06-23 06:11:37 -07:00
Timothy Stack
db963c16cb [perf] use k-way merge instead of stable_sort when building the index of all lines 2013-06-22 17:40:21 -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
5a7d6dab2c [cleanup] uncrustify 2013-06-15 18:07:50 -07:00
Timothy Stack
865849f017 [spam] uncrustify pass 2013-05-27 21:35:00 -07:00
Timothy Stack
3128dc772c [sqlite] Major improvements to the sqlite integration.
This is a checkpoint of the improvements to the sqlite integration.  The
data_parser stuff should be much better now and I've tried to improve
other parts of the user experience as well.
2013-05-24 07:55:56 -07:00
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.
2013-05-17 17:44:55 -07:00
Timothy Stack
f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -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
c4e9f58bf0 [bugs] fix some long-standing bugs
* grep_proc.cc: When a request is queued with the start line
   == -1, we need to start searching from the highest line
   ever seen and not the last line processed.
 * line_buffer.cc: If a partial line was read, we need to
   avoid returning another line if more data is appended
   to the file.
 * lnav.cc: Accept file name patterns on the command-line that
   don't match any files yet.  Initialize the screen before
   redirecting stderr to the log file or /dev/null.
 * log_format.hh: Add some comments.  Start to add back support
   for scrubbing.
 * logfile_sub_source.cc: Move scrubbing to the format impl.
 * textview_curses.hh: Add comments.
2012-09-22 16:15:15 -07:00
Tim Stack
7d0e6583df Add 'C' hotkey for clearing the user-selected bookmarks 2012-04-03 18:51:15 -07:00
Timothy Stack
a92f53ffcb some example stuff 2011-06-11 10:26:52 -07: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