Michael Olbrich
48b617399d
journal: don't try to compress without XZ
...
otherwise the header contains the HEADER_INCOMPATIBLE_COMPRESSED
flag even though the data is not compressed and reading the journal
fails.
2012-09-11 03:01:14 +02:00
Lennart Poettering
c17a8454f7
journald: don't do debug logging by default
2012-09-10 13:18:39 +02:00
Lennart Poettering
272410e179
journald: don't complain if fss key does not exist
2012-09-10 13:18:22 +02:00
Lennart Poettering
7762e02b17
journald: detect invalid header pointers correctly
2012-09-10 11:58:00 +02:00
Lennart Poettering
182b858fc2
journald: make splitting up of journal files per-user configurable
2012-09-07 23:40:00 +02:00
Lennart Poettering
a1a03e3075
journal: add call to determine current journal file disk usage
2012-09-07 23:20:28 +02:00
Lennart Poettering
2b43f939a4
journald: avoid logging to kmsg in the normal paths
2012-09-06 00:32:51 -07:00
Lennart Poettering
cd931c0a46
journalctl: show "Reboot" markers in output only when showing local-only entries
2012-09-05 16:52:46 -07:00
Lennart Poettering
9e8a535faa
journalctl: replace --local by --merge, i.e. don't interleave remote journals by default
2012-09-05 16:49:00 -07:00
Lennart Poettering
a6e87e90ed
journalctl: rework JSON output mode
...
This splits the JSON output mode into different modes: json and
json-pretty. The former printing one entry per line, the latter showing
JSON objects nicely indented and in multiple lines to make it easier to
read for humans.
2012-09-05 15:25:32 -07:00
Yin Kangkai
70f09301d5
journal: add HAVE_XZ check to avoid build failure
...
Without this, build fail with --disable-xz or xz not installed.
2012-08-25 02:01:12 +02:00
Allin Cottrell
4871690d9e
journald: add missing includes
2012-08-24 01:46:38 +02:00
Lukas Nykryn
f284860764
sd-journal: return null when mmap_cache_new fails
2012-08-23 13:53:30 +02:00
Lennart Poettering
99add6fd0b
journalctl: complain if unprivileged users attempt to access the journal and persistant logging is off
2012-08-22 04:45:17 +02:00
Lennart Poettering
d2bd7630d7
journal: the ratelimiter is part of journald
2012-08-22 03:43:45 +02:00
Lennart Poettering
0153028ae3
journald: split off native protocol support into its own .c file
2012-08-22 03:42:23 +02:00
Lennart Poettering
3b7124a8db
journald: split console transport stuff into its own file
2012-08-22 03:36:29 +02:00
Lennart Poettering
a45b9fca6b
journald: move stream protocol into its own .c file
2012-08-22 03:32:41 +02:00
Lennart Poettering
5809560d85
journal: move syslog specific calls out of util.c
2012-08-22 03:24:46 +02:00
Lennart Poettering
35e2e347d3
journald: splitt of syslog protocol support into its own file
2012-08-22 03:21:03 +02:00
Lennart Poettering
ef63833d53
journald: split /dev/kmsg related stuff into its own .c file
2012-08-22 03:09:44 +02:00
Lennart Poettering
671e021c92
journald: write tags also to user journal files
2012-08-22 02:53:51 +02:00
Lennart Poettering
bdfb9e7f7c
journald: augment journal entries from the kernel with data from udev
2012-08-22 02:49:17 +02:00
Lennart Poettering
c0ca7aeec9
journalctl: be more friendly when informing about seal verification
2012-08-21 23:03:20 +02:00
Lennart Poettering
cedb42bb69
journalctl: add a bit of color to the output
2012-08-21 15:53:48 +02:00
Lennart Poettering
24a598f889
journal: properly handle EPIPE from /dev/kmsg
2012-08-21 15:39:34 +02:00
Lennart Poettering
fcde238921
journal: be more careful when keeping around mmaps we still need
2012-08-21 15:39:34 +02:00
Lennart Poettering
369f058921
verify: optimize entry search a bit by using bisection
2012-08-21 15:32:51 +02:00
Lennart Poettering
72fbdd3349
journal: initialize libgcrypt explicitly, before using HMAC
2012-08-21 01:44:38 +02:00
Lennart Poettering
89fef99014
journal: automatically evolve FSS key even when nothing is logged
2012-08-21 01:29:17 +02:00
Lennart Poettering
c05276f23e
journalctl: reword things a bit
2012-08-21 01:02:08 +02:00
Lennart Poettering
adac1c93ab
journal: rearrange QR code output a bit to fi to 80x25 terminals
2012-08-20 22:22:05 +02:00
Lennart Poettering
eb53b74f7e
journald: add new Seal= configuration option
2012-08-20 22:13:22 +02:00
Lennart Poettering
197c0da225
journalctl: explain QR code use
2012-08-20 22:11:55 +02:00
Lennart Poettering
92221ed7cb
journal: include machine ID in QR code
2012-08-20 22:11:38 +02:00
Lennart Poettering
f6a971bc0b
journalctl: output FSS key as QR code on generating
2012-08-20 22:02:19 +02:00
Lennart Poettering
3e4b9b506d
journal: add missing endianess conversion
2012-08-20 19:21:19 +02:00
Lennart Poettering
feb12d3ed2
journal: make libgcrypt dependency optional
2012-08-20 16:51:46 +02:00
Lennart Poettering
8088cbd3cf
journal: use a macro to check for file header flags
2012-08-20 16:11:42 +02:00
Lennart Poettering
f7fab8a5ae
journal: fix tag ordering check
2012-08-20 15:59:33 +02:00
Lennart Poettering
a2e99cdf94
journal: fix bisection algorithm
2012-08-19 15:16:32 +02:00
Lennart Poettering
fc89a13992
journal: validate timestamps as well
2012-08-19 15:16:11 +02:00
Lennart Poettering
84168d8068
mmap: resize arrays dynamically
2012-08-18 01:46:20 +02:00
Lennart Poettering
fb9a24b6b1
journal: even more simple static object tests
2012-08-18 01:45:39 +02:00
Lennart Poettering
97147f8c1f
journal: refuse verification of files with unknown flags
2012-08-18 00:41:06 +02:00
Lennart Poettering
b72631e59c
jounral: write bit fiddling test
...
This test goes through every single bit in a journal file, toggles it,
and checks if this change is detected by the verification.
2012-08-18 00:40:03 +02:00
Lennart Poettering
c586dbf110
journal: fix verification without key
2012-08-18 00:38:57 +02:00
Lennart Poettering
db11ac1ab5
journald: add additional simple static tests to verifier
2012-08-18 00:37:21 +02:00
Lennart Poettering
a010801297
journal: be fine with opening rotated/corrupted journal files
2012-08-17 22:10:36 +02:00
Lennart Poettering
f982e6f761
journal: set secure deletion flags for FSS file
2012-08-17 22:10:11 +02:00