Christopher Aloi
2006-Oct-25 11:29 UTC
[asterisk-users] Multiple queue_log files based on queue - is it possible??
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? Cheers, -- ------ Christopher T Aloi ------
BJ Weschke
2006-Oct-25 12:29 UTC
[asterisk-users] Multiple queue_log files based on queue - is it possible??
On 10/25/06, Christopher Aloi <chris.aloi@gmail.com> 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?No It isn't user configurable. If you want to split them externally you can, but there nothing native to do that at this point. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/
Michiel van Baak
2006-Oct-25 12:40 UTC
[asterisk-users] Multiple queue_log files based on queue - is it possible??
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@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?"