# Queue\_Log file sometimes empty

**URL:** <https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924>\
**Category:** Asterisk Support\
**Created:** [March 13, 2021, 8:55pm UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924 "2021-03-13T20:55:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![edmond](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@edmond](https://community.asterisk.org/u/edmond)\
**Post date:** [March 13, 2021, 8:55pm UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/1 "2021-03-13T20:55:15Z")

</div>

Hi, its being like 1 month that sometimes i am having issue with queue\_log file with no data at all, i need to restart asterisk than it works. i am using asterisk version 16.15.1 Any idea why is this happening and where do i need to look at. Thanks

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [March 13, 2021, 10:58pm UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/2 "2021-03-13T22:58:27Z")

</div>

How are you rolling that file?

---

<div class="post-metadata">

**Author:** ![edmond](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@edmond](https://community.asterisk.org/u/edmond)\
**Post date:** [March 14, 2021, 12:47am UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/3 "2021-03-14T00:47:13Z")

</div>

It recreates every day automatically. I just figure it out that it stopped working right after the Asterisk Queue Logger restarted which happens at 3:35 utc time. After this time i have no data at all in the Queue\_log. Thanks

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [March 14, 2021, 10:44am UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/4 "2021-03-14T10:44:15Z")

</div>

What switches over the files? What triggers the logger reload?

(It seems likely that Asterisk is still logging to the old file.)

---

<div class="post-metadata">

**Author:** ![edmond](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@edmond](https://community.asterisk.org/u/edmond)\
**Post date:** [March 14, 2021, 11:29am UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/5 "2021-03-14T11:29:15Z")

</div>

yes you are right it loges to the old file but doing **module reload logger** fixes that. I am not sure why it happens i did not do anything

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [March 14, 2021, 11:43am UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/6 "2021-03-14T11:43:22Z")

</div>

Typically you would be running logrotate, from a cron job. The default configuration only does something on a weekly basis, so either you have changed the configuration, or you are using some other mechanism.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [April 13, 2021, 11:43am UTC](https://community.asterisk.org/t/queue-log-file-sometimes-empty/87924/7 "2021-04-13T11:43:28Z")

</div>

Closed on April 13, 2021, 11:43am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
