Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • freeradius 2.2.6 on RHEL 6.8 doesn't write customize log

    Posted on

    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

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat