tac_plus-ng: multiple log destinations
Closed this issue · 1 comments
jakunow commented
Hi,
As far as I was able to test you can have only single effective logging destination. Configuration doesn't prevent you from entering multiple, but last one entered seems to be effective.
In this scenario logs would be created only in file
log authclog {
destination = 10.0.0.1
destination = /var/log/tac_plus/authc/%Y/%m/%d.log
In this it would be only send to remote server
log authclog {
destination = /var/log/tac_plus/authc/%Y/%m/%d.log
destination = 10.0.0.1
would it be possible to have multiple syslog destinations?
MarcJHuber commented
Hi Jakub,
a "log" statement defines exactly one destination. The access/authorization/accounting logs however can utilize more than one log definition, so if you want to send logs to multiple destinations:
log log1 { ... }
log log2 { ... }
access log = log1
access log = log2
Cheers,
Marc