I am trying to figure which package (if any) I need to install on an Alpine docker image in order for the logger
command to support the --udp
flag.
By default, the logger
command in alpine only supports a very minimal set of flags, and I need the --udp
support.
# logger --help
BusyBox v1.28.4 (2018-05-30 10:45:57 UTC) multi-call binary.
Usage: logger [OPTIONS] [MESSAGE]
Write MESSAGE (or stdin) to syslog
-s Log to stderr as well as the system log
-t TAG Log using the specified tag (defaults to user name)
-p PRIO Priority (numeric or facility.level pair)
I know there are rsyslog and syslog-ng alternatives, but I was hoping to get the Alpine container to behave exactly like my Ubuntu, at least in the logger
perspective.
Thanks in advance.