summaryrefslogtreecommitdiff
path: root/src/journal/journald-syslog.c
Commit message (Collapse)AuthorAge
* build-sys: store journald code in a noinst libraryZbigniew Jędrzejewski-Szmek2012-11-14
| | | | | | | | | | | | | | | | | | | | The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files.
* journald: properly update message size after stripping the identifierZbigniew Jędrzejewski-Szmek2012-10-13
| | | | | | | | | | 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)
* journald: log when we fail to forward messages to syslogLennart Poettering2012-09-17
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=847207
* journald: add missing includesAllin Cottrell2012-08-24
|
* journald: split console transport stuff into its own fileLennart Poettering2012-08-22
|
* journal: move syslog specific calls out of util.cLennart Poettering2012-08-22
|
* journald: splitt of syslog protocol support into its own fileLennart Poettering2012-08-22