On Wed, Dec 9, 2020 at 12:11 PM George Joseph <gjos...@digium.com> wrote:
> > > On Wed, Dec 9, 2020 at 11:09 AM Alexander Traud <pabstr...@compuserve.com> > wrote: > >> Currently, I debug something with the new Scope Tracing [1][2] on the >> Command-Line Interface (CLI) within GDB. Six of the printed messages did >> not wrap to a new line. In all cases, SCOPE_ did not include a message, and >> therefore no trailing "\n". With a Regular Expression, I found 32 calls >> that do not have a "\n". Apparently, Scope Tracing was not intended to be >> used on the CLI. Which logger(s) are supported? >> >> > All loggers should be supported. I probably just missed the case of no > message. I can fix that real quick. > Actually, I just looked at the code and it's there already... logger,c:2415 ast_str_set(&fmt, 0, "%2d %-.*s%s%s:%d %s: %s", (int)indent, (indent_type == AST_TRACE_INDENT_NONE ? 0 : (int)(indent * 4)), LOTS_O_SPACES, direction, file, line, func, S_OR(ast_skip_blanks(format), "\n")); Which branch/commit are you testing? > > >> [1] <https://gerrit.asterisk.org/14414> >> [2] <https://gerrit.asterisk.org/14616> >> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-dev mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-dev > > > > -- > George Joseph > Asterisk Software Developer > direct/fax +1 256 428 6012 > Check us out at www.sangoma.com and www.asterisk.org > [image: image.png] > -- George Joseph Asterisk Software Developer direct/fax +1 256 428 6012 Check us out at www.sangoma.com and www.asterisk.org [image: image.png]
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev