[2.4.x] mod_log_config: Add journald support. #585
Open
notroj wants to merge 3 commits intoapache:2.4.xfrom
Open
[2.4.x] mod_log_config: Add journald support. #585notroj wants to merge 3 commits intoapache:2.4.xfrom
notroj wants to merge 3 commits intoapache:2.4.xfrom
Conversation
Submitted by: Pascal Terjan <pterjan linuxfr.org> PR: 57631 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875128 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 6db29cc)
the version of libsystemd is available from pkg-config. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1930703 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 6859a96)
is available, a simple 2.4.x equivalent of error log providers + mod_journald. * modules/loggers/mod_log_config.c (wrap_journal_stream): New function. (ap_default_log_writer_init): Use it to support "journald:level" to log via a journald wrapper fd, as an alternative to piped or file logging. * modules/loggers/config.m4: Link mod_log_config against $SYSTEMD_LIBS.
4fbb449 to
6e4cfc4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also merge r1875128, r1930703 from trunk
(cherry picked from commit 6db29cc)
(cherry picked from commit 6859a96)