From d4205751d4643c272059a3728045929dd0e5e800 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Nov 2012 23:03:31 +0100 Subject: journal: implement message catalog The message catalog can be used to attach short help texts to log lines, keyed by their MESSAGE_ID= fields. This is useful to help the administrator understand the context and cause of a message, find possible solutions and find further related documentation. Since this is keyed off MESSAGE_ID= this will only work for native journal messages. The message catalog supports i18n, and is useful to augment english language system messages with explanations in the local language. This commit only includes short explanatory messages for a few example message IDs, we'll add more complete documentation for the relevant systemd messages later on. --- src/journal/libsystemd-journal.sym | 1 + 1 file changed, 1 insertion(+) (limited to 'src/journal/libsystemd-journal.sym') diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym index ad78fcc74d..d4b0c32612 100644 --- a/src/journal/libsystemd-journal.sym +++ b/src/journal/libsystemd-journal.sym @@ -84,4 +84,5 @@ global: LIBSYSTEMD_JOURNAL_196 { global: sd_journal_fd_reliable; + sd_journal_get_catalog; } LIBSYSTEMD_JOURNAL_195; -- cgit v1.2.3-54-g00ecf