Tim Stack
80ef38227b
Merge pull request #120 from iranzo/master
...
Add support for OpenStack log formats (tested on neutron, nova)
2014-11-12 07:35:34 -08:00
Pablo Iranzo Gómez
8fc539df16
Specify timestamp and url for Openstack log files
2014-11-12 15:47:28 +01:00
Tim Stack
a5a6da954f
Merge pull request #119 from sureshsundriyal/master
...
[log_accel] Minor refactoring.
2014-11-12 06:30:30 -08:00
Pablo Iranzo Gómez
d1c5f12bfc
Add support for OpenStack log formats (tested on neutron, nova)
2014-11-12 14:43:46 +01:00
Suresh Sundriyal
114a7a6ecf
[log_accel] Minor refactoring.
...
Unless I am misunderstanding the intention behind the equation:
(A - D)/C - (B - D)/C = (A - B)/C
The output seems to be exactly the same:
Before:
=======
1m7s000│Nov 11 06:45:01 XXX-XXX CRON[28452]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
11m7s000│Nov 11 06:55:01 XXX-XXX CRON[28819]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
21m7s000│Nov 11 07:05:01 XXX-XXX CRON[29186]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
31m7s000│Nov 11 07:15:01 XXX-XXX CRON[29552]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
33m7s000│Nov 11 07:17:01 XXX-XXX CRON[29629]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
41m7s000│Nov 11 07:25:01 XXX-XXX CRON[29922]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
51m7s000│Nov 11 07:35:01 XXX-XXX CRON[30290]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
1h1m7s000│Nov 11 07:45:01 XXX-XXX CRON[30657]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
After:
======
1m7s000│Nov 11 06:45:01 XXX-XXX CRON[28452]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
11m7s000│Nov 11 06:55:01 XXX-XXX CRON[28819]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
21m7s000│Nov 11 07:05:01 XXX-XXX CRON[29186]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
31m7s000│Nov 11 07:15:01 XXX-XXX CRON[29552]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
33m7s000│Nov 11 07:17:01 XXX-XXX CRON[29629]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
41m7s000│Nov 11 07:25:01 XXX-XXX CRON[29922]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
51m7s000│Nov 11 07:35:01 XXX-XXX CRON[30290]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
1h1m7s000│Nov 11 07:45:01 XXX-XXX CRON[30657]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Some names and identifying details in the log snippets above have been changed
to protect the privacy of individuals. Any resemblance to actual computers,
sentient or otherwisei, is purely coincidental.
2014-11-11 23:09:05 -08:00
Timothy Stack
cfa628f6c4
various fixes
...
Defect Number:
Reviewed By:
Testing Done:
2014-11-11 21:18:55 -08:00
Timothy Stack
62f4c9e59e
[build] another missing define
2014-11-11 09:41:57 -08:00
Timothy Stack
3158b29cbd
[build] fix missing define
2014-11-11 09:12:42 -08:00
Timothy Stack
7dd372e305
fix hotkey listing
2014-11-11 08:55:40 -08:00
Timothy Stack
17db6e38fe
add a lo-fi mode
...
Fixes #113
2014-11-11 08:44:44 -08:00
Timothy Stack
ba83382b38
[vdsm_log] missed the level field
2014-11-10 13:57:15 -08:00
Tim Stack
6abdcf3ff2
Merge pull request #117 from iranzo/master
...
Add support for RHEV/oVirt engine.log file
2014-11-10 13:31:07 -08:00
Pablo Iranzo Gómez
98e8f1b1c3
Add support for RHEV/oVirt engine.log file
2014-11-10 20:37:07 +01:00
Timothy Stack
fc31831286
[vdsm_log] add new format
2014-11-10 08:56:35 -08:00
Timothy Stack
244ee2717f
[vmw_log] fix full message read for continued messages
2014-11-07 06:16:45 -08:00
Timothy Stack
7664b75a87
missed invalidating shared buffer refs when loading new data
2014-11-07 05:49:48 -08:00
Tim Stack
c97580d974
Merge pull request #114 from sureshsundriyal/master
...
[vmw_log] 'panic' is an 'error' too.
2014-11-07 05:40:15 -08:00
Suresh Sundriyal
fb4eb36796
[vmw_log] 'panic' is an 'error' too.
...
VPXD prints out the stackframes in the log files when it terminates
abnormally. These log messages have a log level of 'panic'. I guess
these qualify as 'error' as well.
2014-11-07 00:40:00 -08:00
Timothy Stack
82ada5103a
fix an uninitialized var
2014-11-06 22:41:48 -08:00
Timothy Stack
eef375c525
[build] cleanup a test file
2014-11-06 20:41:25 -08:00
Timothy Stack
04e5617553
[test] make the append file writable
2014-11-06 20:36:09 -08:00
Timothy Stack
c5c37a3202
[vmw_log] update the formats for the vmw_log format
2014-11-06 20:32:35 -08:00
Timothy Stack
a06d620018
[filter] add tests for filtering with append
2014-11-06 06:40:32 -08:00
Timothy Stack
80cbe192cb
[filter] fix a filtering bug during tailing
2014-11-05 23:36:07 -08:00
Timothy Stack
671dca60dc
[cmd] do not error out if filter exists, just enable it
...
Defect Number:
Reviewed By:
Testing Done:
2014-11-05 21:29:31 -08:00
Tim Stack
3c69ffb5be
Merge pull request #112 from sureshsundriyal/master
...
Reduce session_data filesize and some minor cleanup.
2014-11-05 21:26:12 -08:00
Suresh Sundriyal
f8ad3479db
Reduce session_data filesize and some minor cleanup.
...
After a year of not cleaning up the '~/.lnav' folder, the folder was
consuming ~8Mb of disk space. This change tries to reduce the disk
consumption by the session_data files.
- The json data in the session_data is beautified. The extra characters
contribute to some of the file size. After removing the beautification
option, the file size reduces by 60-20%, depending on how many files
are open.
Without knowing much about the functionality of these files, my
cursory tests seem to show that lnav can still restore the sessions
after this change. I don't know if these files are meant for human
consumption or not but they can easily be run through a linter to
beautify them again.
- While I was in the file, I noticed that there was a scope declared
with no code inside it. Seems like a remnant of a cleanup.
2014-11-05 19:11:14 -08:00
Timothy Stack
deeac1a5db
[formats] add a "-i" flag to make it easier to install formats
2014-11-05 09:01:09 -08:00
Timothy Stack
c1bba73034
missing mkdir in build.sh
2014-11-04 08:51:45 -08:00
Timothy Stack
f9098e6bc4
[build] automate building the linux static binary
2014-11-04 06:36:49 -08:00
Timothy Stack
c7cd0961ab
[build] make dist fixes
2014-11-03 20:41:38 -08:00
Timothy Stack
0d6f067aab
[coverity] a couple of fixes
2014-11-03 20:24:46 -08:00
Timothy Stack
45f18bd89c
bump version, add some logging, and minor stuff
...
Defect Number:
Reviewed By:
Testing Done:
2014-11-03 20:02:22 -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
c5f5ee5624
remove dead strace table code
2014-11-02 19:41:58 -08:00
Timothy Stack
2d23f8e809
[time] use the gmtime from newlib
...
Defect Number:
Reviewed By:
Testing Done:
2014-11-02 19:35:15 -08:00
Timothy Stack
708490e3b0
[mem] some more memory reductions
...
Defect Number:
Reviewed By:
Testing Done:
2014-10-31 13:16:35 -07:00
Timothy Stack
f410c9eeb8
[logfile] try to reduce memory usage a bit
...
Defect Number:
Reviewed By:
Testing Done:
2014-10-31 11:11:56 -07:00
Timothy Stack
35defc0ede
fix for delete detection
2014-10-31 05:16:07 -07:00
Timothy Stack
0859f69c9f
try to fix a crash related to deleted files
2014-10-31 04:49:16 -07:00
Timothy Stack
74b49e6f28
[cmd] add tab-completion for text in the view when filtering
...
Defect Number: fixes #92
Reviewed By:
Testing Done:
2014-10-30 08:37:06 -07:00
Timothy Stack
0ab2400d2d
[cmd] add a clear-highlight command
...
Defect Number: Fixes #109
Reviewed By:
Testing Done:
2014-10-29 20:53:23 -07:00
Timothy Stack
74e1d446ba
add a test for change that fixes #110
...
Defect Number:
Reviewed By:
Testing Done:
2014-10-29 20:05:33 -07:00
Timothy Stack
6c1dfe3521
[yajl] add a yajl_reset() so we do not have to do yajl_alloc for every line
2014-10-29 06:42:45 -07:00
Timothy Stack
ccee7caa32
[yajl] bump to version 2.1.0
2014-10-29 06:19:10 -07:00
Timothy Stack
e05d42dc3f
fix some warnings
2014-10-29 04:26:13 +00:00
Timothy Stack
996e665078
fix an invalid read error
2014-10-28 07:12:33 -07:00
Timothy Stack
d4bea593b7
[perf] optimize json log loading
2014-10-28 07:02:27 -07:00
Timothy Stack
dd87952195
[build] minor fix
2014-10-19 22:19:40 -07:00