Summary:ASTERISK-06219: [patch] add queue_log_name to logger.conf and remove hardcoded queue_log
Reporter:Steve Davies . (stevedavies)Labels:
Date Opened:2006-01-30 08:38:46.000-0600Date Closed:2011-06-07 14:10:41
Versions:Frequency of
Environment:Attachments:( 0) queue_log_name.patch
Description:The queue_log filename is currently hardcoded in logger.c

This patch adds an option to logger.conf so you can set the name.

Comments:By: Olle Johansson (oej) 2006-01-31 09:06:54.000-0600

Shouldn't it be a channel name so you log with ast_log(LOG_QUEUE, "something") ?

This cleanup is really needed, thank you. It will help the logger rotate bug report for queue logs as well.

By: Steve Davies . (stevedavies) 2006-02-05 05:38:50.000-0600

Hi Olle,

For me the fact that the queue log doesn't rotate with the others is a feature.  The queue_log is used for analysis, the others are mostly for records and debugging.

So I personally like it handled separate.  But the name should be settable.


By: Tilghman Lesher (tilghman) 2006-02-05 10:33:28.000-0600

Well, you've already lost out on the queue_log being rotatable.  We need all logfiles to be rotatable, or else Asterisk dies very badly when the file reaches 2GB on 32-bit machines.

I also don't see the benefit of this patch.

By: Tilghman Lesher (tilghman) 2006-02-09 16:56:24.000-0600

Want to try to convince me?  :-)

By: Tilghman Lesher (tilghman) 2006-02-17 10:35:45.000-0600

Guess not.