Hi, I am using RT engine to log queue_log to a mysql database. My extconfig is [settings] queue_log => mysql,asterisk16_production Logging to mysql is working fine. But I find that the queue_log file now only has QUEUESTART lines for eg: 1250519094|NONE|NONE|NONE|QUEUESTART| 1250519186|NONE|NONE|NONE|QUEUESTART| How can I have queue_log in both db as well as in a file? thanks and regards, raj
Rajkumar S escribi?:> Hi, > > I am using RT engine to log queue_log to a mysql database. My extconfig is > > [settings] > queue_log => mysql,asterisk16_production > > Logging to mysql is working fine. > > But I find that the queue_log file now only has QUEUESTART lines for eg: > > 1250519094|NONE|NONE|NONE|QUEUESTART| > 1250519186|NONE|NONE|NONE|QUEUESTART| > > How can I have queue_log in both db as well as in a file? > > thanks and regards, >Hi, I think there's no way to configure both with a single setting, you have one or another. You would need to modify the source code of logger.c (and maybe another files) to make it do both types of logging, text file and realtime engine. A backend modular system similar to the CDR handlers actually present in asterisk, would be awesome to handle the queue logs too. Cheers, -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center
You should log to a file and use a piece of code like our qloaderd to do the DB update. l. 2009/8/17 Rajkumar S <rajkumars at gmail.com>> Hi, > > I am using RT engine to log queue_log to a mysql database. My extconfig is > > [settings] > queue_log => mysql,asterisk16_production > > Logging to mysql is working fine. > > But I find that the queue_log file now only has QUEUESTART lines for eg: > > 1250519094|NONE|NONE|NONE|QUEUESTART| > 1250519186|NONE|NONE|NONE|QUEUESTART| > > How can I have queue_log in both db as well as in a file? > > thanks and regards, > > raj > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Loway - home of QueueMetrics - http://queuemetrics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090818/6a39d790/attachment.htm
Lenz Emilitri escribi?:> You should log to a file and use a piece of code like our qloaderd to > do the DB update. > l. >Could you share such piece of code? Thanks, -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center