Commit Graph

900 Commits

Author SHA1 Message Date
Timothy Stack
82574e2e27 [line_buffer] missed invalidating a sb ref 2015-07-23 23:06:52 -07:00
Timothy Stack
fa89ecc5e5 redo the search in the pretty view
Fixes #245
2015-07-23 22:29:08 -07:00
Timothy Stack
d616509958 build fix 2015-07-22 07:41:23 -07:00
Timothy Stack
d2d8c75135 [sql] add an lnav_views table 2015-07-22 07:09:51 -07:00
Timothy Stack
9496a960f6 [check] print the partial match of non-matching lines when checking a log file 2015-07-20 06:33:52 -07:00
Timothy Stack
3a87a65ab2 [fmt] add warnings for missing fields 2015-07-20 05:33:02 -07:00
Timothy Stack
010131aaba [docs] update the docs for recent changes 2015-07-19 21:38:37 -07:00
Timothy Stack
27bb9bb2ee [fmt] highlight identifiers in module formats 2015-07-19 02:40:02 -07:00
Timothy Stack
5e77e9f256 [readline] try a different behavior when tab-completing quoted stuff in the SQL context 2015-07-17 20:51:44 -07:00
Timothy Stack
3f4e11a693 [fmt] first pass at supporting sub-formats (called module formats) 2015-07-17 20:39:06 -07:00
Timothy Stack
4573964fd2 always build papertrail_proc 2015-07-14 20:15:48 -07:00
Timothy Stack
0bd9b29bea adjustments to the generic_log so the body is picked up correctly 2015-07-13 22:33:40 -07:00
Timothy Stack
d4e7f83a77 try to use travis containers 2015-07-12 13:46:59 -07:00
Timothy Stack
a8bf7e39b0 log the version of libcurl 2015-07-12 10:23:01 -07:00
Timothy Stack
5ef60412db [pt] pass search query to papertrail 2015-07-12 09:57:02 -07:00
Timothy Stack
7ef92dab79 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
Timothy Stack
f392822aa8 [parse] show the path of the pattern used to parse the top line 2015-07-10 21:39:03 -07:00
Timothy Stack
e2c08d1da7 these files got dropped from the last checkin 2015-07-08 23:18:52 -07:00
Timothy Stack
f1dd99328d [lnav.cc] move more stuff out of lnav.cc 2015-07-08 22:26:54 -07:00
Timothy Stack
7679599afc fix a refactor error 2015-07-08 07:05:11 -07:00
Timothy Stack
6b971ccd66 move stuff out of lnav.cc
Defect Number:
    Reviewed By:
   Testing Done:
2015-07-08 06:35:36 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
4ceddbe82e [ptimec] fix handling of month in interpreted formats
Also missed the null terminator on the list of custom
timestamp formats.
2015-06-30 21:53:01 -07:00
Tim Stack
14755f6f75 Merge pull request #242 from sureshsundriyal/coverity
[coverity] Avoid a buffer-overrun.
2015-06-28 03:18:39 -07:00
Suresh Sundriyal
b4f2c1683a [coverity] Avoid a buffer-overrun.
'escape_index' is ensured to be less than 'sizeof(escape_buffer)-1'.
This guarantees enough space for one more character in the
escape_buffer. However, if we meet this condition, we go ahead and shove
a character and a null-terminator in to the string, potentially leading
to a buffer overrun.
2015-06-27 21:37:08 -07:00
Timothy Stack
87ec101f9c [fmts] log format contributions 2015-06-24 21:32:45 -07:00
Timothy Stack
92dd59285b some fixes to the re2c change 2015-06-10 20:42:46 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Timothy Stack
bb5f3cc9c4 [all_logs] tweak log_msg_format generation 2015-06-04 05:30:50 -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
Suresh Sundriyal
f71b7feff3 Merge pull request #238 from sureshsundriyal/syslog
[syslog_log] Case-insensitive search for level strings
2015-05-31 23:09:42 -07:00
Suresh Sundriyal
f476f904db [syslog_log] Case-insensitive search for level strings
While looking through syslog messages on OS X, came across plenty of
error/warning messages where the level was in all-caps and as a result
were not recognized. There was also a lot of false positives due to the
word error turning up as part of a longer string.

This change:
- Changes the log level regex to do a case-insensitive search.
- Ognores the string 'error', if it is part of a longer string.
2015-05-31 22:47:39 -07:00
Timothy Stack
100e4233d5 [ptime] fix parsing for double digit year 2015-05-29 21:41:30 -07:00
Suresh Sundriyal
b822a997f5 Merge pull request #237 from sureshsundriyal/minor_fix
[log_format] Don't capture the sub-groups.
2015-05-20 07:36:34 -07:00
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.
2015-05-20 00:41:00 -07:00
Timothy Stack
cec3d0cb72 [generic_log] add time format that includes zone 2015-05-17 05:15:41 -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
e07f3f5b24 [docs] update docs for horizontal move change 2015-05-12 06:37:41 -07:00
Suresh Sundriyal
6e8f75aae4 [misc] Update the AUTHORS and NEWS file. 2015-05-11 23:31:59 -07:00
Tim Stack
ba1191d730 Merge pull request #234 from PaulWay/PaulWay_shift_horizontal_movement
Adding smaller movements to left and right via shift-arrows or H and L.
2015-05-11 06:46:42 -07:00
Tim Stack
d780a03619 Merge pull request #235 from sureshsundriyal/lo-fi
[lo-fi shortcut] Change shortcut to 'Ctrl-l'.
2015-05-09 23:53:11 -07:00
Suresh Sundriyal
d6b32d60be [lo-fi shortcut] Change shortcut to 'Ctrl-l'.
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
2015-05-08 22:31:56 -07:00
Paul Wayper
de38b11e67 Fixed missing semicolon from last break statement in previous commit. 2015-05-06 08:41:17 +10:00
Suresh Sundriyal
97d3c53565 [autodeploy_log] rename the Auto Deploy log format 2015-05-04 23:16:26 -07:00
Suresh Sundriyal
280d0cb718 [top_status_view] Increase the format name column width 2015-05-04 23:15:53 -07:00
Paul Wayper
e5acc0e6ba Adding smaller movements to left and right via shift-arrows or H and L. 2015-05-05 09:57:05 +10:00
Timothy Stack
94459f2cb1 [generic_log] fix log levels for generic_log 2015-05-01 20:52:00 -07:00
Suresh Sundriyal
44ce89f296 Merge pull request #231 from sureshsundriyal/wip2
[format] Add a format for Auto Deploy.
2015-04-28 23:38:53 -07:00
Suresh Sundriyal
eee628a272 [format] Add a format for Auto Deploy. 2015-04-28 21:55:17 -07:00