summaryrefslogtreecommitdiff
path: root/src/journal
AgeCommit message (Collapse)Author
2012-10-13log: introduce a macro to format message idZbigniew Jędrzejewski-Szmek
The MESSAGE_ID=... stanza will appear in countless number of places. It is just too long to write it out in full each time. Incidentally, this also fixes a typo of MESSSAGE is three places.
2012-10-11journalctl: implement --since= and --until for filtering by timeLennart Poettering
2012-10-11journal: support epxorting the journal in a format suitable for ↵Lennart Poettering
text/event-stream
2012-10-11journal: take scroll events in the entire white box in browse.htmlLennart Poettering
2012-10-11journal: make buttons bigger in browse.htmlLennart Poettering
2012-10-11journal: use localstorage instead of cookies in browse.html and store where ↵Lennart Poettering
the current position
2012-10-11journal: move buttons to the center in browse.htmlLennart Poettering
2012-10-10journal: add mousewheel scrolling to browse.htmlKay Sievers
2012-10-10journal: add keyboard navigation to browse.htmlLennart Poettering
2012-10-10journal: properly HTML escape more output in browse.htmlLennart Poettering
2012-10-10journal: properly escape HTML entities in browse.htmlMantas Mikulėnas
2012-10-10journal: when browsing the journal via browse.html allow clicking on entries ↵Lennart Poettering
to show their details
2012-10-10journal: drop path name from cursor stringsLennart Poettering
we had this mostly for debugging purposes and it was ignored when parsing anyway, so let's get rid of it
2012-10-10gatewayd: beef up browse.html a bitLennart Poettering
2012-10-10journal: fix seeking backwards in gateway daemonLennart Poettering
2012-10-10journal: update comments a bitLennart Poettering
2012-10-10journalctl: properly parse --cursor= long getopt in addition to short -cLennart Poettering
2012-10-10journal: make sure sd_journal_seek_cursor() seeks to the specified entry if ↵Lennart Poettering
it exists, not one after it
2012-10-09journal: implement follow mode for HTTP GET in gatewaydLennart Poettering
2012-10-09journal: add matching support to gatewaydLennart Poettering
2012-10-03dbus: add some more safety checks before accepting data from bus clientsLennart Poettering
2012-10-03journal-send: simplificationLennart Poettering
2012-10-03journald: only accept fds from certain directoriesLennart Poettering
2012-10-02journald: assert target instead of pageLukas Nykryn
page is a local, yet unitialized, variable.
2012-10-02trivial: fix typoZbigniew Jędrzejewski-Szmek
2012-09-28journald: rework auto-rotation logicLennart Poettering
2012-09-28journald: close sd_journal context after flushing to /varLennart Poettering
2012-09-28journal: add missing browse.html fileLennart Poettering
2012-09-28journal: add minimal journal gateway daemon based on GNU libmicrohttpdLennart 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-28sd-journal: properly parse cursor stringsLennart Poettering
2012-09-28logs-show: various cleanupsLennart 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-28journalctl: add --cursor switchLennart Poettering
2012-09-24journal: also use new VA_FORMAT_ADVANCE() macro in sd_journal_send()Lennart Poettering
2012-09-24journald: always pass first entry timestamp back from journal_file_verify()Lennart Poettering
2012-09-24journalctl: print correct timespan in verifyMirco 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-24journal: set seal even for readonly journalfilesMirco Tischler
journalctl needs to know wether the file has been sealed to be able to do verification.
2012-09-24journalctl: reset cached column count on SIGWINCHDave 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-24journal: add missing test fileLennart Poettering
2012-09-22journal: bring mmap cache prototype in syncLennart Poettering
2012-09-21journal: always keep marked mmap windows aroundLennart Poettering
2012-09-21journald: log how big the journal files may growLennart Poettering
2012-09-21journalctl: make the argument to -n optionalLennart Poettering
2012-09-21journal: 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-21journal: don't allow journal_file_open() to be called with ret being NULLLennart Poettering
2012-09-19journald: don't accept arbitrarily sized journal data fieldsLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=858746
2012-09-19util: define union dirent_storage and make use of it everywhereLennart Poettering
Make sure to allocate enough space for readdir_r(). https://bugzilla.redhat.com/show_bug.cgi?id=858754
2012-09-19journal: 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-17journald: log when we fail to forward messages to syslogLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=847207
2012-09-17journald: properly update perms on freshly rotate user journalsLennart Poettering
2012-09-13man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen
https://bugs.freedesktop.org/show_bug.cgi?id=54501