[Asterisk-code-review] logger: Console sessions will now respect logger.conf dateformat= option (asterisk[master])

Mark Murawski asteriskteam at digium.com
Fri Mar 19 09:09:27 CDT 2021


Hello George Joseph, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/15545

to look at the new patch set (#4).

Change subject: logger: Console sessions will now respect logger.conf dateformat= option
......................................................................

logger: Console sessions will now respect logger.conf dateformat= option

The 'core' console (ie: asterisk -c) does read logger.conf and does
use the dateformat= option.

Whereas 'remote' consoles (ie: asterisk -r) does not read logger.conf
and uses a hard coded dateformat option:
  main/logger.c: static char dateformat[256] = "%b %e %T"

This change will load logger.conf for each remote console session and
use the dateformat= option to set the per-line timestamp

Change-Id: I3ea10990dbd920e9f7ce8ff771bc65aa7f4ea8c1
ASTERISK-25358: #close
Reported-by: Igor Liferenko
---
A doc/CHANGES-staging/logger_dateformat.txt
M include/asterisk/logger.h
M main/asterisk.c
M main/logger.c
4 files changed, 69 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/45/15545/4
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15545
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I3ea10990dbd920e9f7ce8ff771bc65aa7f4ea8c1
Gerrit-Change-Number: 15545
Gerrit-PatchSet: 4
Gerrit-Owner: Mark Murawski <markm at intellasoft.net>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210319/c2d2d367/attachment.html>


More information about the asterisk-code-review mailing list