<p> Attention is currently required from: N A, Joshua Colp. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/16222">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File apps/app_verbose.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/+/16222/comment/ee564adb_77ab0cbe">Patch Set #6, Line 139:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">    } else {<br>              int level = ast_logger_dynamic_level(args.level);<br>             if (level > -1) {<br>                  ast_log_dynamic_level(level, "%s\n", args.msg);<br>             } else {<br>                      ast_log(LOG_ERROR, "Unknown log level: '%s'\n", args.level);<br>                }<br>     }<br><br>   if (lnum > -1) {<br>           snprintf(context, sizeof(context), "@ %s", ast_channel_context(chan));<br>              snprintf(extension, sizeof(extension), "Ext. %s", ast_channel_exten(chan));<br><br>               ast_log(lnum, extension, ast_channel_priority(chan), context, "%s\n", args.msg);<br>    }<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Okay, so the way the code is now for this is fine? Or do you want me to have the dynamic level match […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I personally prefer, and think that the logging of dynamic levels should match, and be logged in the same was as the other ones.</p><p style="white-space: pre-wrap; word-wrap: break-word;">As such using the default logging formatter will only output the extension + text. If someone wants more they can use the plain logging formatter.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The way your patch has it now does not allow for a user to optionally choose to output the extra info.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16222">change 16222</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/+/16222"/><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: If082703cf81a436ae5a565c75225fa8c0554b702 </div>
<div style="display:none"> Gerrit-Change-Number: 16222 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 13 Aug 2021 18:31:53 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Comment-In-Reply-To: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>