Send logs from the linelog module to stdout
Alan DeKok
aland at deployingradius.com
Tue Sep 19 19:34:19 UTC 2023
On Sep 19, 2023, at 2:19 PM, work vlpl <thework.vlpl at gmail.com> wrote:
> Hi, I am running radiusd in Docker container. In configuration
> radiusd.conf I had set the user and group variable to drop permission
> after the start. Radiusd process is started with `-fl stdout` to
> redirect radiusd process logs to stdout and let Docker collect
> necessary logs.
OK.
> But in the linelog module if I will use /dev/stdout as filename
> radiusd seems can't open it for writing. Also, Docker requires
> `tty=true`, or permissions to /dev/stdout granted only to root. May I
> ask if there is an option that I am missing, to redirect linelog
> output to stdout?
This is a question for Docker, not for FreeRADIUS.
When the server runs on a normal system, it can write to /dev/stdout.
Alan DeKok.
More information about the Freeradius-Users
mailing list