[Asterisk-bugs] [Asterisk 0010073]: [branch] Add milliseconds to CLI display and make the -T option work as advertised

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 7 11:15:25 CDT 2007


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10073 
====================================================================== 
Reported By:                xylome
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10073
Category:                   Addons/*
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 68405 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             06-27-2007 12:13 CDT
Last Modified:              07-07-2007 11:15 CDT
====================================================================== 
Summary:                    [branch] Add milliseconds to CLI display and make
the -T option work as advertised
Description: 
currently adding -T to the commandline options of asterisk does not work as
advertised (displaying the time on each line of CLI output), which is fixed
with this patch.

i also found it useful having milliseconds on the CLI when debugging
timecritical things.

this patch introduces '%#' to "dateformat" in the logger.conf file which
is replaced by the miliseconds.

this patch also brings a new string function "ast_string_replace" which
allows (hopefully) secure search and replace operations on strings 
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 07-07-07 11:15  
---------------------------------------------------------------------- 
I've created the team/group/ast_strftime branch for the conversion of
internal timestamps to be accurate to the fraction of a second, by using
struct timeval in place of time_t. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-07 11:15  Corydon76      Note Added: 0066736                          
07-07-07 11:15  Corydon76      Category                 Core/General => Addons/*
07-07-07 11:15  Corydon76      Summary                  [patch] Add milliseconds
to CLI display and make the -T option work as advertised => [branch] Add
milliseconds to CLI display and make the -T option work as advertised
======================================================================




More information about the Asterisk-bugs mailing list