<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3: Code-Review-1</p><p style="white-space: pre-wrap; word-wrap: break-word;">Which log level and formatter are you looking at?  When using the default log formatter, VERBOSE messages are processed differently than other messages and don't include the date or callid.  If you use the "plain" formatter you do get them, for both local and remote console.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Given the following basic configuration.  dateformat= is only respected for the full log, not the console</p><p style="white-space: pre-wrap; word-wrap: break-word;">[general]<br>dateformat=%F %T.%3q</p><p style="white-space: pre-wrap; word-wrap: break-word;">[logfiles]<br>console  => notice,warning,error,verbose<br>full     => notice,warning,error,debug,verbose</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">OK, now I see what's going on. The main asterisk process sends the timestamp formatted by 'dateformat' to the remote console for all non-verbose messages.  For verbose messages, it doesn't include the timestamp at all and leaves it to the remote console to format.  You need to make that clear in the commit message and in the CHANGES file.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15545">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15545/3/main/logger.c">File main/logger.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/15545/3/main/logger.c@695">Patch Set #3, Line 695:</a> <code style="font-family:monospace,monospace">}</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You need to call ast_config_destroy(cfg) here.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15545">change 15545</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15545"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3ea10990dbd920e9f7ce8ff771bc65aa7f4ea8c1 </div>
<div style="display:none"> Gerrit-Change-Number: 15545 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 17 Mar 2021 14:54:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>