# Rpt log? Where and how?

**URL:** <https://community.allstarlink.org/t/rpt-log-where-and-how/22812>\
**Category:** AllStarLink\
**Created:** [January 28, 2025, 9:57pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812 "2025-01-28T21:57:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [January 28, 2025, 9:57pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/1 "2025-01-28T21:57:40Z")

</div>

I’d like to enable basic logging of asterisk rpt activity:  
Node connections node keyups (possibly more).  
But I’d like to start with those basics.  
How do I enable and log these events and where do they go?  
This is a hard drive and not an SDCard therefore this is not a concern to that regard.  
I also do not want to archive audio.  
Only wish to log and record the events.  
I already tried configuring asterisk to loglevel 7 and this does not cause it to log these events,  
however they can clearly be seen at the asterisk console.

At the asterisk console I see :  
– Call accepted by 93.x.x.x:4569 (format ulaw)  
– Format for call is (ulaw)  
– Hungup ‘DAHDI/pseudo-1951477356’  
– Hungup ‘DAHDI/pseudo-1193533009’  
– \<DAHDI/pseudo-296251747\> Playing ‘rpt/node.gsm’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/4.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/2.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/8.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/1.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/5.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘rpt/connected-to.gsm’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘rpt/node.gsm’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/2.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/5.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/8.ulaw’ (language ‘en’)  
– \<DAHDI/pseudo-296251747\> Playing ‘digits/6.ulaw’ (language ‘en’)  
– Hungup ‘DAHDI/pseudo-296251747’  
– Hungup ‘DAHDI/pseudo-2067626128’  
I wish to log these types of evens and be able to view them at a later time.

Thanks!

---

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [January 28, 2025, 10:22pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/2 "2025-01-28T22:22:26Z")

</div>

Also looked at logger.conf  
It is set to the same as console.  
I also tried adding “debug” to the messages.log configuration (then restarting asterisk) and this did not help.  
Clearly these events (as seen in the console) are not being logged to messages.log  
console =\> notice,warning,error,dtmf  
;console =\> notice,warning,error,debug,verbose  
messages.log =\> notice,warning,error,dtmf

---

<div class="post-metadata">

**Author:** ![Chuck](https://community.allstarlink.org/user_avatar/community.allstarlink.org/chuck/32/3682_2.png) [@Chuck](https://community.allstarlink.org/u/Chuck)\
**Post date:** [January 28, 2025, 11:15pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/3 "2025-01-28T23:15:08Z")

</div>

Add verbose(n) to the messages.log line in logger.conf. Start with verbose(3); the higher the int the more is logged. Restart asterisk after editing logger.conf.

---

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [January 29, 2025, 12:34am UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/4 "2025-01-29T00:34:06Z")

</div>

Like this?  
messages.log =\> notice,warning,error,dtmf verbose 7  
Or like this?  
messages.log =\> notice,warning,error,dtmf verbose (3)  
I tried 3 and 7.  
Restarted logger also restarted asterisk.  
This did not have any affect on what is showing in the logfile.

---

<div class="post-metadata">

**Author:** ![Chuck](https://community.allstarlink.org/user_avatar/community.allstarlink.org/chuck/32/3682_2.png) [@Chuck](https://community.allstarlink.org/u/Chuck)\
**Post date:** [January 29, 2025, 1:20am UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/5 "2025-01-29T01:20:58Z")

</div>

You need a _comma_ between each logging element, not a space. No spaces at all in the line.

messages.log =\> notice,warning,error,dtmf,verbose(3)

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [January 29, 2025, 1:49am UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/6 "2025-01-29T01:49:09Z")

</div>

Just in the case you forgot, asterisk must be restarted on changes to that file.

---

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [January 29, 2025, 3:44pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/7 "2025-01-29T15:44:40Z")

</div>

Thanks Chuck!  
I’m all set now 🙂

---

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [January 29, 2025, 3:45pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/8 "2025-01-29T15:45:24Z")

</div>

You bet!  
It’s also possible to just restart logger within asterisk but I was also restarting asterisk just to be sure.

---

<div class="post-metadata">

**Author:** ![system](https://community.allstarlink.org/uploads/default/original/2X/4/42700284e201b031bd667c3f63bbae05a74b3104.png) [@system](https://community.allstarlink.org/u/system)\
**Post date:** [February 1, 2025, 3:45pm UTC](https://community.allstarlink.org/t/rpt-log-where-and-how/22812/9 "2025-02-01T15:45:43Z")

</div>

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