freeradius 2.2.6 on RHEL 6.8 doesn't write customize log
Hy,
I configured a new log authentication module :
/etc/raddb/sites-available/eduroam_logging
linelog eduroam_log {
filename = ${logdir}/eduroam-log
format = ""
reference = "eduroam_log.%{%{reply:Packet-Type}:-format}"
eduroam_log {
Access-Accept = "eduroam-auth#ORG=%{request:Realm}#USER=%{User-
Name}#CSI=%{%{Calling-Station-Id}:-Unknown Caller Id}#NAS=%{%{Called-Station-
Id}:-Unknown Access Point}#MSG=%{%{EAP-Message}:-No EAP Message}#RESULT=OK#"
Access-Reject = "eduroam-auth#ORG=%{request:Realm}#USER=%{User-
Name}#CSI=%{%{Calling-Station-Id}:-Unknown Caller Id}#NAS=%{%{Called-Station-
Id}:-Unknown Access Point}#MSG=%{%{reply:Reply-Message}:-No Failure
Reason}#RESULT=FAIL#"
and i enabled it by creatinf link soft:
llrwxrwxrwx. 1 root radiusd 26 21 set 11:28 eduroam_logging -> ../modules/eduroam_logging
Now service and auth work fine but in mylog dir (/var/log) i haven't eduroam-log; there's only radius.log
What's wrong?
Thanks in advance.
Guido
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
