Version differences:
Node: AstRecipes/Avoiding queue_log file rotation - showing differences between version 3 and 222d21 < If your queue_log has already been rotated, you'll want to join the remaining pieces together. That's very easy: 24,27c23 < [*] First, stop Asterisk. < [*] Make a backup of all ''queue_log*'' files < [*] Rename the existing ''queue_log'' to ''queue_log.now''. < [*] Execute the following commands (I give examples for 5 leftover pieces, you may find a different number on your system): --- > Loway offers a script that makes it trivial to do the import without following the manual procedure - you'll find it here: 29,36c25 < [#CODE:] < cat queue_log.5 >> queue_log < cat queue_log.4 >> queue_log < cat queue_log.3 >> queue_log < cat queue_log.2 >> queue_log < cat queue_log.1 >> queue_log < cat queue_log.now >> queue_log < [:CODE#] --- > http://queuemetrics.com/manuals/QLoader-chunked/ar01s02.html 38,39c27 < [*] Remove all files but queue_log itself < [*] Restart Asterisk. --- > Do an automated install using yum. 41d28 < This should be it. Now your QueueMetrics will work just fine. 42a30,52 > ""Manual procedure"" > > If your queue_log has already been rotated, you'll want to join the remaining pieces together. That's very easy: > > [*] First, stop Asterisk. > [*] Make a backup of all ''queue_log*'' files > [*] Rename the existing ''queue_log'' to ''queue_log.now''. > [*] Execute the following commands (I give examples for 5 leftover pieces, you may find a different number on your system): > > [#CODE:] > cat queue_log.5 >> queue_log > cat queue_log.4 >> queue_log > cat queue_log.3 >> queue_log > cat queue_log.2 >> queue_log > cat queue_log.1 >> queue_log > cat queue_log.now >> queue_log > [:CODE#] > > [*] Remove all files but queue_log itself > [*] Restart Asterisk. > > This should be it. Now your QueueMetrics will work just fine. >
Back to history - See current version.


