c0ad8cd4cc
For services that log to syslog (such as swift and haproxy), a sidecar container that reads from syslog and outputs to stdout is needed. This container will have a very static configuration, but needs to be configured somehow anyway; thus, a small profile was added for this. bp logging-stdout-rsyslog Change-Id: I4864ddca223becd0a17f902729cf2e566df5e521
8 lines
221 B
Plaintext
8 lines
221 B
Plaintext
module(load="imuxsock" syssock.Use="off")
|
|
|
|
input(type="imuxsock" socket="<%= @socket_path %>")
|
|
|
|
template(name="messageonly" type="string" string="%msg%\n")
|
|
|
|
action(type="omfile" file="/dev/stdout" template="messageonly")
|