Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-28 | journal: add minimal journal gateway daemon based on GNU libmicrohttpd | Lennart Poettering | |
This minimal HTTP server can serve journal data via HTTP. Its primary purpose is synchronization of journal data across the network. It serves journal data in three formats: text/plain: the text format known from /var/log/messages application/json: the journal entries formatted as JSON application/vnd.fdo.journal: the binary export format of the journal The HTTP server also serves a small HTML5 app that makes use of the JSON serialization to present the journal data to the user. Examples: This downloads the journal in text format: # systemctl start systemd-journal-gatewayd.service # wget http://localhost:19531/entries Same for JSON: # curl -H"Accept: application/json" http://localhost:19531/entries Access via web browser: $ firefox http://localhost:19531/ | |||
2012-09-28 | sd-journal: properly parse cursor strings | Lennart Poettering | |
2012-09-28 | logs-show: various cleanups | Lennart Poettering | |
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all. | |||
2012-09-28 | journalctl: add --cursor switch | Lennart Poettering | |
2012-09-24 | journal: also use new VA_FORMAT_ADVANCE() macro in sd_journal_send() | Lennart Poettering | |
2012-09-24 | journald: always pass first entry timestamp back from journal_file_verify() | Lennart Poettering | |
2012-09-24 | journalctl: print correct timespan in verify | Mirco Tischler | |
The old code used a timestamp to print a timespan for unsealed journalfiles, incorrectly showing things like 2230 days of unsealed entries. Print the timespan between the first and last entry instead. | |||
2012-09-24 | journal: set seal even for readonly journalfiles | Mirco Tischler | |
journalctl needs to know wether the file has been sealed to be able to do verification. | |||
2012-09-24 | journalctl: reset cached column count on SIGWINCH | Dave Reisner | |
This requires a little bit of tip-toeing around to explicitly avoid touching the environment from a sig handler. Instead, simply create a function to reset the var to its "unset" state, allowing the next call to columns() to recalculate and cache the new value. | |||
2012-09-24 | journal: add missing test file | Lennart Poettering | |
2012-09-22 | journal: bring mmap cache prototype in sync | Lennart Poettering | |
2012-09-21 | journal: always keep marked mmap windows around | Lennart Poettering | |
2012-09-21 | journald: log how big the journal files may grow | Lennart Poettering | |
2012-09-21 | journalctl: make the argument to -n optional | Lennart Poettering | |
2012-09-21 | journal: completely rework the mmap cache as I too dumb to actually ↵ | Lennart Poettering | |
understand it Instead of doing hand optimized fd bisect arrays just use plain old hashmaps. Now I can understand my own code again. Yay! As a side effect this should fix some bad memory accesses caused by accesses after mmap(), introduced in 189. | |||
2012-09-21 | journal: don't allow journal_file_open() to be called with ret being NULL | Lennart Poettering | |
2012-09-19 | journald: don't accept arbitrarily sized journal data fields | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=858746 | |||
2012-09-19 | util: define union dirent_storage and make use of it everywhere | Lennart Poettering | |
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754 | |||
2012-09-19 | journal: when comparing two entries from separate files make sure we ↵ | Lennart Poettering | |
reposition the mmap window The mmap cache doesn't guarantee that we can look at two files at the same time. Hence make sure to look at the entries to compare one after the other, instead of at the same time when comparing them, and reposition the window in between. | |||
2012-09-17 | journald: log when we fail to forward messages to syslog | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=847207 | |||
2012-09-17 | journald: properly update perms on freshly rotate user journals | Lennart Poettering | |
2012-09-13 | man: fix a bunch of typos in docs | Thomas Hindoe Paaboel Andersen | |
https://bugs.freedesktop.org/show_bug.cgi?id=54501 | |||
2012-09-13 | journal: never assert directly on data read from the journal | Lennart Poettering | |
2012-09-13 | journald: don't reposition window if we don't have to | Lennart Poettering | |
2012-09-12 | journalctl: print QR code only if we are running on an UTF-8 system | Lennart Poettering | |
2012-09-11 | journal: don't set seal flag if we don't have gcrypt built-in | Lennart Poettering | |
2012-09-11 | journal: don't try to compress without XZ | Michael Olbrich | |
otherwise the header contains the HEADER_INCOMPATIBLE_COMPRESSED flag even though the data is not compressed and reading the journal fails. | |||
2012-09-10 | journald: don't do debug logging by default | Lennart Poettering | |
2012-09-10 | journald: don't complain if fss key does not exist | Lennart Poettering | |
2012-09-10 | journald: detect invalid header pointers correctly | Lennart Poettering | |
2012-09-07 | journald: make splitting up of journal files per-user configurable | Lennart Poettering | |
2012-09-07 | journal: add call to determine current journal file disk usage | Lennart Poettering | |
2012-09-06 | journald: avoid logging to kmsg in the normal paths | Lennart Poettering | |
2012-09-05 | journalctl: show "Reboot" markers in output only when showing local-only entries | Lennart Poettering | |
2012-09-05 | journalctl: replace --local by --merge, i.e. don't interleave remote ↵ | Lennart Poettering | |
journals by default | |||
2012-09-05 | journalctl: rework JSON output mode | Lennart Poettering | |
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-08-25 | journal: add HAVE_XZ check to avoid build failure | Yin Kangkai | |
Without this, build fail with --disable-xz or xz not installed. | |||
2012-08-24 | journald: add missing includes | Allin Cottrell | |
2012-08-23 | sd-journal: return null when mmap_cache_new fails | Lukas Nykryn | |
2012-08-22 | journalctl: complain if unprivileged users attempt to access the journal and ↵ | Lennart Poettering | |
persistant logging is off | |||
2012-08-22 | journal: the ratelimiter is part of journald | Lennart Poettering | |
2012-08-22 | journald: split off native protocol support into its own .c file | Lennart Poettering | |
2012-08-22 | journald: split console transport stuff into its own file | Lennart Poettering | |
2012-08-22 | journald: move stream protocol into its own .c file | Lennart Poettering | |
2012-08-22 | journal: move syslog specific calls out of util.c | Lennart Poettering | |
2012-08-22 | journald: splitt of syslog protocol support into its own file | Lennart Poettering | |
2012-08-22 | journald: split /dev/kmsg related stuff into its own .c file | Lennart Poettering | |
2012-08-22 | journald: write tags also to user journal files | Lennart Poettering | |
2012-08-22 | journald: augment journal entries from the kernel with data from udev | Lennart Poettering | |
2012-08-21 | journalctl: be more friendly when informing about seal verification | Lennart Poettering | |