Placing logfiles in multiple directories

Hi guys,

I have a quick question.
We want to put the asterisk logs in multiple directories.

Is this possible with an asterisk server?

We were thinking about something like this.
(our example)

astlogdir => /var/log/asterisk, /var/log/remote-asterisk

right now it is this;

astlogdir => /var/log/asterisk

Anybody got any ideas if this is possible and what would be the right way?
Thank you in advance.

Directly on the asterisk.conf file I dont think so, but you could create symbolic links o across the server o copy the file to a remote location

Symbolic links don’t copy the files, they simply give an alternative name. The reader of the file still needs permission to access the original, and, for symbolic links, all directories on the path to it.

log to SYSLOG and use your syslog daemon to put the data in multiple places.