Commit Graph

54 Commits (72e3a4d8dff1a7c0afedc0944396625953a3adae)

Author SHA1 Message Date
Timothy Stack 72e3a4d8df [format] add TCF file format and some fixes to make it work
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack cbd8308b36 [cmd] use wordexp in the open command 10 years ago
Timothy Stack 8acba75862 [data-parser] fix test failure 11 years ago
Timothy Stack 5ef8a168a7 [perf] reduce copies of log messages 11 years ago
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.
11 years ago
Timothy Stack c59acba758 [format] initial support for json formats and some bug fixes 11 years ago
Timothy Stack 9b8ceb5cb0 [log formats] transfer more formats to config 11 years ago
Timothy Stack f801470fa5 [log format] more log formats 11 years ago
Timothy Stack fcb6ab2cd5 [nits] fix some nits 11 years ago
Timothy Stack 79c4038128 [log time] add a command to adjust log message times 11 years ago
Timothy Stack 2d33cb7f7e [log format] some more log format work 11 years ago
Timothy Stack 2cd356b4c5 [log format] some more work to externalize log formats; color identifiers in logs 11 years ago
Timothy Stack def3de9e6b [log] log partitioning 11 years ago
Timothy Stack f1087184d6 [log format] lay some foundation for making log formats configurable 11 years ago
Timothy Stack 8908e2569f [parser] fix some parser issues; and a fix for my last checkin 11 years ago
Timothy Stack d72cab0c1e [log_format] the access_log format wasn't picking up the timestamp range correctly 11 years ago
Timothy Stack df80972d5d [log format] generic prefix len 11 years ago
Timothy Stack 5a7d6dab2c [cleanup] uncrustify 11 years ago
Timothy Stack 61d3af6e62 [parsing] fix some bugs and improve performance of the scanner 11 years ago
Timothy Stack 3196050b25 [sql] set some columns to be text so they are not graphed 11 years ago
Timothy Stack 5d478fc17a [cleanup] start a tracer/debugger for the data parser 11 years ago
Timothy Stack 178937886c [cmd] add summarize command 11 years ago
Timothy Stack 5e18f47cd2 [nits] fix some recently introduced bugs and some long standing ones 11 years ago
Timothy Stack 0dba72db71 [nits] fix some minor bugs and add some path manipulation functions to sqlite 11 years ago
Timothy Stack 865849f017 [spam] uncrustify pass 11 years ago
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.
11 years ago
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.
11 years ago
Tim Stack f3a85327ab Merge pull request #49 from mdordal/master
Add support for glog logs
11 years ago
Matt Dordal e1dbc7262e Add support for glog logs
Glog is an open-source C++ logging framework from Google. Add support
for the log format.

Testing: run on an example log
11 years ago
Timothy Stack f62b5c271c [release] bump to 0.5.1 11 years ago
Timothy Stack 4c6069c33d [cleanup] little bits of cleanup here and there 11 years ago
Timothy Stack a92785e889 [piper_proc] add timestamp and file write options for stdin 11 years ago
Timothy Stack bad57ac735 [misc] add some more comments and fix bugs in the sql view 11 years ago
Timothy Stack a476e27701 Some more miscellaneous fixes:
* lnav.cc: Move the view when J/K are pressed.
   Handle 'too many files' situations better.
 * line_buffer.cc: Increase some of the file
   size constants.
12 years ago
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.
12 years ago
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.
12 years ago
Timothy Stack e6bbe56f4e fix a stack smash
## BEGIN PATCH TEMPLATE

      QA Notes:
    Bug Number:
   Reviewed By:
  Testing Done: make check
12 years ago
Timothy Stack d87f613eb0 fix log format 12 years ago
Timothy Stack c6c19eabb5 [generic log format/misc] try to pull millisecond value out of the log
* log_format.cc, log_format_impls.cc, log_format.hh: Change
   log_scanf to return a pointer to the character in the
   time string that was not part of the time.  Change the
   generic log format to try and pull out the millisecond
   value from the timestamp.
 * test/Makefile.am: Fix some dist problems.
 * test/logfile_generic.0: Test logfile for the generic log format.
12 years ago
Timothy Stack b68a1bba9b [test] some cleanup for tests and other things
Just a cleanup pass
12 years ago
Timothy Stack a19faa885a [valgrind] Plug some more leaks and tweak a few things 12 years ago
Timothy Stack 08ca33713d Fix SQL highlighting in the text view 13 years ago
tstack fd7d59383b search fixes 14 years ago
tstack a285c0dc2b vtab fix and refine some log time formats 15 years ago
tstack e1c309c49f Merge branch 'master' of git@github:tstack/lnav 15 years ago
tstack c09aa3ba70 fix some minor build issues 15 years ago
Timothy Stack 3735fccda2 clean up some auto conf and add an strace test 15 years ago
Timothy Stack abe0182a0b tcsh fix and distcheck 15 years ago
tstack c07ba8756f Freebsd build changes 15 years ago
Timothy Stack 1d40a8edcf build work 15 years ago