Commit Graph

56 Commits

Author SHA1 Message Date
Tim Stack
eacbaa9d4f [cmds] add command for setting a default time zone 2023-09-08 21:31:16 -07:00
Tim Stack
e0ff4434a9 [logfile] report utf error location
Related to #1156
2023-06-24 23:12:29 -07:00
Tim Stack
1c8c7089cb [log_format] try to do a better job matching JSON formats to logs
Try all formats and find the one with the highest quality
match.  For JSON logs, this means the format that matched
the most fields in the line-format.

Related to #1136
2023-06-20 09:38:11 -07:00
Tim Stack
4cb695fa68 [tests] remove use of sprintf() 2023-06-18 21:07:26 -07:00
Tim Stack
eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2022-09-15 21:11:30 -07:00
Tim Stack
5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2022-09-10 09:28:07 -07:00
Timothy Stack
16d39f3fd9 [db] move the shared_buffer_ref out of logline_value 2022-07-24 23:29:46 -07:00
Timothy Stack
f9f797fc9d [logfile_sub_source] add log message watch expressions
Fixes #539
2022-06-28 22:23:56 -07:00
Timothy Stack
1891ceb7b5 [perf] fix some performance issues with log vtabs
Fixes #995
2022-06-10 21:17:02 -07:00
Timothy Stack
f03f9e704f [views] add a breadcrumb view 2022-05-10 21:58:32 -07:00
Timothy Stack
0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Timothy Stack
81e63784e7 [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
Timothy Stack
eb42ef6e77 [build] try cmake build again 2022-03-16 22:29:45 -07:00
Timothy Stack
66ef5fdae1 [clang-format] init 2022-03-16 15:38:08 -07:00
Cristian Chiru
e2fe64e536 Fix for building on msys2; Closes #795 2022-02-20 01:35:40 +02:00
Timothy Stack
19fd336e9a [formats] add logfmt 2021-10-02 23:17:33 -07:00
Timothy Stack
c0ed59e61e [sqlite] implement .dump SQL command 2021-03-28 13:50:26 -07:00
Timothy Stack
c177a321fb [leak] try to fix leak in a test 2021-02-25 22:22:16 -08:00
Timothy Stack
8235f9af5d [tests] try to make scripty output readable 2021-01-08 14:08:52 -08:00
Timothy Stack
2996a90afa [format] use the module level for a message 2020-12-31 13:55:53 -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
8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
2020-11-19 21:36:51 -08:00
Timothy Stack
9f524136bd [fs] remove old filesystem impl 2020-10-20 22:55:46 -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
63dba408ec [stdin] Keep the stdin piper file in .lnav so that it can be reopened
When piping the output of a program into lnav, the data would
be dumped to the terminal on exit so that it would not be
lost.  Since that is a bit noisy, the temp file used to store
the data is now left in .lnav so that it can be reopened later.
Older stdin captures are automatically removed after a day.

Also took the opportunity to start using filesystem::path more.

Fixes #436
2019-07-29 22:18:32 -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
fb7d6eafaf [build] some refactoring of files 2019-05-08 05:30:59 -07:00
Timothy Stack
21c5c52843 [format] allow multiple log format patterns per log file
This tries to address #624
2019-03-13 16:37:41 -07:00
Timothy Stack
7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 2018-05-10 06:44:03 -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
f567aafe3b [c++11] migration #1
Just a start
2016-12-10 07:21:24 -08:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
Timothy Stack
3167302722 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 2016-04-28 23:34:13 -07: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
443053da62 [all_logs] add log_msg_schema hidden column to the all_logs table and refine the msg format 2015-08-26 09:41:45 -07:00
Suresh Sundriyal
e359f8552a [-Wunused-result] Bunch of test files. 2015-04-02 13:44:27 -07:00
Timothy Stack
c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
2015-03-16 23:10:34 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -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
c347485834 [config] add more config directories to search 2014-03-02 22:26:41 -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
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
2d33cb7f7e [log format] some more log format work 2013-06-29 11:00:34 -07:00
Timothy Stack
61d3af6e62 [parsing] fix some bugs and improve performance of the scanner 2013-06-11 21:10:59 -07:00
Tim Stack
4a26355c63 [test] clear the TRACE_FILE after closing it 2013-06-08 06:27:36 -07:00
Timothy Stack
5d478fc17a [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
Timothy Stack
4516ffd8d7 [tests] more log samples 2013-06-04 19:45:04 -07:00
Timothy Stack
5e18f47cd2 [nits] fix some recently introduced bugs and some long standing ones 2013-06-04 06:53:25 -07:00
Timothy Stack
a4792841da [test] add-test command 2013-06-03 07:45:19 -07:00