(RADIATOR) Logging Question
Bret Jordan
bret.jordan at utah.edu
Thu Apr 1 01:15:43 CST 2004
I am wondering if it is possible to setup two different Loggers and then
just point certain handlers to certain loggers where the loggers are
defined globally (what I am seeing is that all the handlers use the last
defined logger rather than the one I have definied for them). Example:
somewhere.com should have trace level 4 logging while somethingelse.com
has trace level 3 logging. I am using 3.8 btw.
Thanks
Bret
# Global Config
# ----------------------------------------
# Logging
# ----------------------------------------
#LogStdout
LogDir /var/log/radiator
LogFile %L/radiator.log
<Log FILE>
Identifier Logger_System
Trace 3
Filename %L/radiator.log
</Log>
<Log FILE>
Identifier Logger_System_Debug
Trace 4
Filename %L/radiator_debug.log
</Log>
# Handlers Section
<Handler
Realm=somewhere.com,Client-Identifier=/Wireless_AccessPoint|Radius_Mesh/>
RejectHasReason
AcctLogFileName %L/somewhere.com_accounting.log
AcctLogFileFormat %l, %{User-Name}, %{Acct-Session-Id},
%{Acct-Authentic}, \
%{Acct-Status-Type}, %{NAS-Identifier},
%{NAS-IP-Address}, \
%{NAS-Port}, %{NAS-Port-Type}, %{Timestamp}
#PasswordLogFileName %L/somewhere.com_login.log
Log Logger_System_Debug
AuthLog Logger_Authentication
RewriteUsername s/^([^@]+).*/$1/
<AuthBy FILE>
Filename %D/somewhere.com_users
EAPTLS_SessionResumption 0
EAPType TTLS TLS
EAPTLS_MaxFragmentSize 1024
EAPTLS_CAFile %D/cert/root.pem
EAPTLS_CertificateType PEM
EAPTLS_CertificateFile %D/cert/server-cert.pem
EAPTLS_PrivateKeyFile %D/cert/server-cert.pem
EAPTLS_PrivateKeyPassword
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#EAPTLS_RandomFile %D/cert/random
AutoMPPEKeys
</AuthBy>
</Handler>
<Handler
Realm=somethingelse.com,Client-Identifier=/Wireless_AccessPoint|Radius_Mesh/>
RejectHasReason
AcctLogFileName %L/somethingelse.com_accounting.log
AcctLogFileFormat %l, %{User-Name}, %{Acct-Session-Id},
%{Acct-Authentic}, \
%{Acct-Status-Type}, %{NAS-Identifier},
%{NAS-IP-Address}, \
%{NAS-Port}, %{NAS-Port-Type}, %{Timestamp}
#PasswordLogFileName %L/somethingelse.com_login.log
Log Logger_System
AuthLog Logger_Authentication
RewriteUsername s/^([^@]+).*/$1/
<AuthBy FILE>
Filename %D/somethingelse.com_users
EAPTLS_SessionResumption 0
EAPType TTLS TLS
EAPTLS_MaxFragmentSize 1024
EAPTLS_CAFile %D/cert/root.pem
EAPTLS_CertificateType PEM
EAPTLS_CertificateFile %D/cert/server-cert.pem
EAPTLS_PrivateKeyFile %D/cert/server-cert.pem
EAPTLS_PrivateKeyPassword
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#EAPTLS_RandomFile %D/cert/random
AutoMPPEKeys
</AuthBy>
</Handler>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan Dean's Office
Director of Networking College of Engineering
801.585.3765 University of Utah
jordan at coe.utah.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list