summaryrefslogtreecommitdiff
path: root/src/journal
AgeCommit message (Collapse)Author
2012-10-16journalctl: properly track rotated journals in follow modeLennart Poettering
2012-10-16sd-journal: fix bad memory accessLennart Poettering
2012-10-16journal: implement time-based rotation/vacuumingLennart Poettering
This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming.
2012-10-16journal: sort data items of entries by offsetLennart Poettering
This should slightly optimize disk access patterns on rotating disks for simple readers.
2012-10-16journal: Set the last_unused pointer correctly when attaching an unused windowColin Guthrie
It seems the previous code was copy/pasted from context_detach_window() but not updated.
2012-10-16journal: Properly track the number of allocated windows.Colin Guthrie
Checks were already in place to make sure that the number of windows was limited to 64, but the count was never incremented or decremented.
2012-10-16journalctl: add --unit=/-u to match by unit nameLennart Poettering
This applies unit_name_mangle() to the specified unit names and hence can handle weird characters nicely and will add unit suffixes as necessary.
2012-10-16journalctl: harmonise in-stream commentsLennart Poettering
From now on, always use ANSI-SQL-style comments in log streams, i.e. prefix with --. We also suffix things with this, just to be nice...
2012-10-15journalctl: skip informational messages in export/json modesZbigniew Jędrzejewski-Szmek
2012-10-14journalctl: make --follow really workZbigniew Jędrzejewski-Szmek
2012-10-13journalctl: make --follow work againZbigniew Jędrzejewski-Szmek
Stopped working after cfbc22ab 'journalctl: implement --since= and --until for filtering by time'.
2012-10-13journal-verify: get rid of an unused variableZbigniew Jędrzejewski-Szmek
When compiling without gcrypt, gcc emits an annoying warning.
2012-10-13journald: add missing includeZbigniew Jędrzejewski-Szmek
./src/journal/journald.h:123:114: warning: ‘struct ucred’ declared inside parameter list [enabled by default]
2012-10-13journal-gatewayd: rename variables to avoid -Wshadow warningZbigniew Jędrzejewski-Szmek
2012-10-13journald: properly update message size after stripping the identifierZbigniew Jędrzejewski-Szmek
Valgrind says: ==29176== Conditional jump or move depends on uninitialised value(s) ==29176== at 0x412A85: cunescape_length_with_prefix (util.c:1565) ==29176== by 0x40B351: dev_kmsg_record (journald-kmsg.c:301) ==29176== by 0x40B653: server_read_dev_kmsg (journald-kmsg.c:347) ==29176== by 0x40B701: server_flush_dev_kmsg (journald-kmsg.c:365) ==29176== by 0x409DE7: main (journald.c:1535)
2012-10-13journal: fix build in VALGRIND compatibility modeZbigniew Jędrzejewski-Szmek
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