Multiple log destinations

0 views
Skip to first unread message

Ludovic BOISSEAU

unread,
Nov 13, 2025, 12:33:15 AM (4 days ago) Nov 13
to Event-Driven Servers
Hello,

according to the documentation, it seems possible to send logs to more than one destination ("Logs may be written to multiple destinations") but I could not find how to store logs on local files ("destination = /var/log/tac_plus/%Y-%m-%d/access.log" for example) AND send the same logs to syslog ("syslog facility = LOCAL3" and "syslog level = INFO").

Could you please provide an example ?

Thanks in advance,

Ludovic.

Marc Huber

unread,
Nov 13, 2025, 9:06:17 AM (3 days ago) Nov 13
to event-driv...@googlegroups.com

Hi,

you can add multiple log definitions (destinations) for the same log type:

log demo1 { destination = /where/ever }
log demo2 { destination = syslog }
access log = demo1
access log = demo2

Also, log definitions can be added to multiple log types, so

access log = demo2
authorization log = demo2

would work, too.

Cheers,

Marc

--
You received this message because you are subscribed to the Google Groups "Event-Driven Servers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to event-driven-ser...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/event-driven-servers/77df5b8c-3135-466d-b35a-fc3c6a5dfaa4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages