Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-03 | journal: fail silently in sd_j_sendv() if journal is unavailable | Zbigniew Jędrzejewski-Szmek | |
"syslog(3) and sd_journal_print() may largely be used interchangeably functionality-wise" according to sd_journal_print(3). This socket should be always available except in rare circumstatances, and we don't random applications to fail on logging, so let's do what syslog did. The alternative of forcing all callers to do error handling for this rare case doesn't really have any benefits, since if they can't log there isn't much they can do anyway. https://bugzilla.redhat.com/show_bug.cgi?id=1023041 | |||
2013-12-02 | Use assert_return in more of the public API | Thomas Hindoe Paaboel Andersen | |
2013-10-16 | macro: clean up usage of gcc attributes | Lennart Poettering | |
Always use our own macros, and name all our own macros the same style. | |||
2013-08-22 | remove hasprefix(), use startswith() | Shawn Landden | |
2013-06-20 | Add hasprefix macro to check prefixes of fixed length | Zbigniew Jędrzejewski-Szmek | |
2013-06-13 | journal: use initialization instead of zeroing | Zbigniew Jędrzejewski-Szmek | |
2013-05-02 | Add __attribute__((const, pure, format)) in various places | Zbigniew Jędrzejewski-Szmek | |
I'm assuming that it's fine if a _const_ or _pure_ function calls assert. It is assumed that the assert won't trigger, and even if it does, it can only trigger on the first call with a given set of parameters, and we don't care if the compiler moves the order of calls. | |||
2013-04-02 | util: add a bit of syntactic sugar for saving/restoring errno | Lennart Poettering | |
2012-11-25 | journal: fix warning about pointer arithmetic | Zbigniew Jędrzejewski-Szmek | |
../src/journal/journal-send.c: In function 'sd_journal_sendv': ../src/journal/journal-send.c:250:73: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] | |||
2012-11-20 | journal-send: always send SYSLOG_IDENTIFIER, if we have it | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=872193 | |||
2012-11-20 | journal-send: unify a bit of code | Lennart Poettering | |
2012-10-03 | journal-send: simplification | Lennart Poettering | |
2012-09-24 | journal: also use new VA_FORMAT_ADVANCE() macro in sd_journal_send() | Lennart Poettering | |
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-01 | journal: add sd_journal_perror() to API | Lennart Poettering | |
2012-06-22 | journal: fix sd_journal_stream_fd() | Lennart Poettering | |
2012-04-12 | journal: fix missing variable initialization | Lennart Poettering | |
2012-04-12 | relicense to LGPLv2.1 (with exceptions) | Lennart Poettering | |
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends. | |||
2012-04-02 | journal: implicitly add code location to all messages logged with the native ↵ | Lennart Poettering | |
interface This logic can be turned off by defining SD_JOURNAL_SUPPRESS_LOCATION before including sd-journal.h. This also saves/restores errno in all logging functions, in order to be useful as logging calls without side-effects. This also adds a couple of __unlikely__ around the early checks in the logging calls, in order to minimize the runtime impact. | |||
2012-01-27 | log: increase socket buffers for logging by default | Lennart Poettering | |
2012-01-18 | journal: when sending journal data via file, place it in /dev/shm, to allow ↵ | Lennart Poettering | |
early boot operation, even if it sucks | |||
2012-01-14 | journal: if the data to be sent is larger than the maximum datagram size ↵ | Lennart Poettering | |
resort to passing a temporary fd over native protocol | |||
2012-01-12 | log: make internal log api log directly to the journal | Lennart Poettering | |
2012-01-05 | journal: rename syslog tag to identifier since that's what we call it on the ↵ | Lennart Poettering | |
server side. | |||
2012-01-05 | sd-journal: close reading side of sd_journal_stream_fd() file descriptors | Lennart Poettering | |
2012-01-05 | journal: move sockets into their own subdir | Lennart Poettering | |
2012-01-05 | journald: add configuration file options to forward all logged data to kmsg, ↵ | Lennart Poettering | |
console, syslog | |||
2012-01-03 | journal: add _public_ to all sd-journal calls, and add parameter checks | Lennart Poettering | |
2011-12-23 | journal: implement stdout transport | Lennart Poettering | |
2011-12-17 | journal: introduce mandatory sd_journal_printf() priority parameter | Lennart Poettering | |
2011-12-17 | journal: add native protocol to journald, and client side API to send ↵ | Lennart Poettering | |
journal messages |