HP-UX AAA Server A.08.02.10 Administrator's Guide HP-UX 11i v3 (T1428-90093, November 2013)

stream *default* {
aatv log_acct
buffer 1
close on
filename session.%Y-%m-%d.log
update 900
wrap 3
}
end
Multiple Logging Streams
By specifying log_all for aatv, LOG will generate a record for each stream defined in the
log.config file (before the end keyword). Following is the syntax:
stream *default* aatv log_all
stream old {
aatv log_v1_1
buffer 1
close on
filename record.%y%m%d.las
}
stream new {
aatv log_v2_0
aatv-value 7
buffer 1
close on
filename recordv2.%y%m%d.las
}
end
Logging Based on attributes
This sample aatv logs all accounting request logs for yourorg.com in the yourorg.%Y%M.log
file and the rest of the accounting request in the realm.%Y%M.log file. This stream configuration
for logging is based on log_by_realm. The log_by_realm AATV searches for the User-Realm
attribute. Following is the syntax:
Stream *default* {
aatv LOG_BY_REALM
buffer 1
close on
filename session.%Y-%m-%d.log
update 900
wrap 3
}
stream User-Realm::*default* {
aatv log_acct
buffer 1
close on
filename realm.%Y%M.log
update 900
wrap 3
}
stream User-Realm::yourorg.com {
aatv log_acct
buffer 1
close on
filename yourorg.%Y%M.log
update 1
wrap 3
}
end
400 Configuration Files