46 |
|
|
47 |
logging { |
logging { |
48 |
# This defines output channel `info'. The output will go to a file |
# This defines output channel `info'. The output will go to a file |
49 |
# named <radlog_dir>/radius.info. (<radlog_dir> is /var/log on BSD- |
# named <radlog_dir>/radius.info. |
|
# like systems and /usr/adm on System-V systems. It's value |
|
|
# can be determined from output of radiusd -v.) |
|
50 |
# |
# |
51 |
channel info { |
channel info { |
52 |
file "radius.info"; |
file "radius.info"; |
56 |
print-severity yes; # Synonim for the above |
print-severity yes; # Synonim for the above |
57 |
print-milliseconds yes; # Print timestamp with milliseconds |
print-milliseconds yes; # Print timestamp with milliseconds |
58 |
print-category yes; # Print category description |
print-category yes; # Print category description |
59 |
|
prefix-hook "log-prefix" |
60 |
|
suffix-hook "log-suffix" |
61 |
}; |
}; |
62 |
|
|
63 |
# This defines output channel that sends it info to syslog whith |
# This defines output channel that sends it info to syslog whith |
71 |
category auth { |
category auth { |
72 |
print-auth yes; # Output any authentication info |
print-auth yes; # Output any authentication info |
73 |
print-failed-pass yes; # Output failed password |
print-failed-pass yes; # Output failed password |
74 |
print-pass no; # Output password (very insecure!) |
print-pass no; # Do not log correct passwords |
75 |
}; |
}; |
76 |
|
|
77 |
# Send notice logs to another channel |
# Send notice logs to another channel |