Commit Graph

822 Commits (bb5f3cc9c445c98083624b2ef023bad71cb48619)
 

Author SHA1 Message Date
Timothy Stack bb5f3cc9c4 [all_logs] tweak log_msg_format generation 9 years ago
Timothy Stack 504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 9 years ago
Suresh Sundriyal f71b7feff3 Merge pull request #238 from sureshsundriyal/syslog
[syslog_log] Case-insensitive search for level strings
9 years ago
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.
9 years ago
Timothy Stack 100e4233d5 [ptime] fix parsing for double digit year 9 years ago
Suresh Sundriyal b822a997f5 Merge pull request #237 from sureshsundriyal/minor_fix
[log_format] Don't capture the sub-groups.
9 years ago
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.
9 years ago
Timothy Stack cec3d0cb72 [generic_log] add time format that includes zone 9 years ago
Timothy Stack 04f8ceadab [file-marker] some more cleanup 9 years ago
Timothy Stack b8b16bd8e5 [view] differentiate messages from different log files 9 years ago
Timothy Stack e07f3f5b24 [docs] update docs for horizontal move change 9 years ago
Suresh Sundriyal 6e8f75aae4 [misc] Update the AUTHORS and NEWS file. 9 years ago
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.
9 years ago
Tim Stack d780a03619 Merge pull request #235 from sureshsundriyal/lo-fi
[lo-fi shortcut] Change shortcut to 'Ctrl-l'.
9 years ago
Suresh Sundriyal d6b32d60be [lo-fi shortcut] Change shortcut to 'Ctrl-l'.
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
9 years ago
Paul Wayper de38b11e67 Fixed missing semicolon from last break statement in previous commit. 9 years ago
Suresh Sundriyal 97d3c53565 [autodeploy_log] rename the Auto Deploy log format 9 years ago
Suresh Sundriyal 280d0cb718 [top_status_view] Increase the format name column width 9 years ago
Paul Wayper e5acc0e6ba Adding smaller movements to left and right via shift-arrows or H and L. 9 years ago
Timothy Stack 94459f2cb1 [generic_log] fix log levels for generic_log 9 years ago
Suresh Sundriyal 44ce89f296 Merge pull request #231 from sureshsundriyal/wip2
[format] Add a format for Auto Deploy.
9 years ago
Suresh Sundriyal eee628a272 [format] Add a format for Auto Deploy. 9 years ago
Suresh Sundriyal be5f26f232 Merge pull request #230 from sureshsundriyal/wip
Require sqlite3-v3.6.0
9 years ago
Suresh Sundriyal b5f1e9cec2 Require sqlite3-v3.6.0
v3.6.0 was the last released version of sqlite3 that I could
successfully compile with without any source changes. I could
compile with v3.4.2 but that required some code changes which
were not really worth the trouble of supporting v3.4.2, which was
released on 2007-08-13.
9 years ago
Suresh Sundriyal 3bd29c31ab Merge pull request #229 from sureshsundriyal/wip
[build] Require sqlite3 to be at least version 3.3.9.
9 years ago
Timothy Stack b01b962ea7 [build] forgot to add some new data files 9 years ago
Timothy Stack 021b7cb3aa [test] add a test for nested json log formats 9 years ago
Suresh Sundriyal e8ff7d8e8e [build] Require sqlite3 to be at least version 3.3.9.
'sqlite3_prepare_v2' was first introduced in version 3.3.9, which is
about 8 years old by now.
9 years ago
Timothy Stack 9948eeba77 [build] use isdigit 9 years ago
Timothy Stack 1d0233bbfa [json-format] support for full paths 9 years ago
Tim Stack 43104ed687 Merge pull request #228 from sureshsundriyal/wip4
[pretty] Don't wait indefinitely for reverse IP lookups.
9 years ago
Suresh Sundriyal fcb2db38b0 [timer] Start off disarmed + refactoring. 9 years ago
Suresh Sundriyal da582ce00f [timer] Add 'disarm' method 9 years ago
Suresh Sundriyal 99094a9cf8 [timer] Some refactoring 9 years ago
Suresh Sundriyal 55e912d21e [pretty] Don't wait indefinitely for reverse IP lookups.
Reverse lookup for pretty print should be a best effort undertaking. So,
+ Give up on EAI_AGAIN.
+ Don't block on the getnameinfo call indefinitely, resolv.conf might be
  set up with a large timeout.
+ Disable lookups after the first failure.
+ Lots of OCD error checking.
9 years ago
Timothy Stack 5a7c5a2139 [piper] the piper was not exiting if the stream it was reading did not terminate with a line feed 9 years ago
Suresh Sundriyal d8ca659203 Merge pull request #226 from sureshsundriyal/wip
[pretty] More restrictive IPv4 regex.
9 years ago
Suresh Sundriyal 5cd1da8e1a [pretty] More restrictive IPv4 regex.
The regular expression seems to match arbitrary version strings in
pretty-print view. Adding a more restrictive regular expression,
that should be able to distinguish between valid IPv4 addresses and
arbitrary version strings.
9 years ago
Timothy Stack 9ac53b114e add subsystem to the vmk_log format 9 years ago
Suresh Sundriyal d8d46a49dc [build] Make pkg.sh executable. 9 years ago
Suresh Sundriyal 9903f9bb21 [build] Some typographical errors. 9 years ago
Suresh Sundriyal 520ec12bab Merge pull request #225 from sureshsundriyal/wip
[build] Get rid of the sqlite3 dependency.
9 years ago
Suresh Sundriyal ace51f0848 [build] Get rid of the sqlite3 dependency. 9 years ago
Suresh Sundriyal 99baf0f9aa Merge pull request #224 from sureshsundriyal/wip2
[vagrant] Use the multi-machine facility.
9 years ago
Suresh Sundriyal 229576d1be [vagrant] Use the multi-machine facility. 9 years ago
Suresh Sundriyal bfa27483d6 Merge pull request #223 from sureshsundriyal/wip
Add FreeBSD builds + fixes + remove build cruft.
9 years ago
Suresh Sundriyal 1a0de7269e [vagrant] Remove the generated cruft after the builds are done. 9 years ago
Suresh Sundriyal b854940d22 [vagrant] Fix builds and add support for FreeBSD.
+ The sqlite certificates have changed and not trusted by wget, so use
  the http protocol to download the binary.
+ Add support for FreeBSD builds.
+ Move stuff around to support FreeBSD builds.
+ Destroy the vagrant VM after a successful build.
9 years ago
Suresh Sundriyal 0ad313a342 Merge pull request #222 from sureshsundriyal/wip
[test] Add tests for attaching to sqlite3 db.
9 years ago
Suresh Sundriyal 9894db83be [test] Add tests for attaching to sqlite3 db.
* Test for attaching db when passed in through as a command line
  argument.
* Test for attaching db from within lnav.
9 years ago