[asterisk-users] Multiple queue_log files based on queue - is it possible??

Michiel van Baak michiel at vanbaak.info
Wed Oct 25 12:40:32 MST 2006


On 14:29, Wed 25 Oct 06, Christopher Aloi wrote:
> Hello List,
> 
> Question: Has anyone been able to create multiple queue_log files in
> /var/log/asterisk for multiple queues?
> 
> We are designing a multi-tenant system and separating the log files
> would be useful, instead of dropping all queue actions into one file.
> 
> Is it possible this is a user configurable option I am missing?

Asterisk is not able to do this itself.
It should be easy to write a shellscript or something to do
the splitting for you. The queuename is the 3rd field in the
logfile so this should be giving you the queuename of a
line:
cut -d "|" -f 3

good luck
-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"



More information about the asterisk-users mailing list