Send logs from the linelog module to stdout

Matthew Newton mcn at freeradius.org
Wed Sep 20 08:56:35 UTC 2023



On 19/09/2023 20:34, Alan DeKok wrote:
> On Sep 19, 2023, at 2:19 PM, work vlpl <thework.vlpl at gmail.com> wrote:
>> 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?

 From what I remember the easiest way to do this is to get FreeRADIUS to 
write to syslog, and then configure some kind of syslogd to also run 
inside the container to dump to stdout or wherever you want.

>    This is a question for Docker, not for FreeRADIUS.

Agreed.

-- 
Matthew


More information about the Freeradius-Users mailing list