diff options
author | George Joseph <gjoseph@digium.com> | 2017-01-13 10:03:15 -0700 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-01-20 11:20:22 -0600 |
commit | d16b3a99171338264f9d7aa15819ed6d9c9b1d85 (patch) | |
tree | d6bc8053382015c527827d732483259798d0714c /configs/samples/ast_debug_tools.conf.sample | |
parent | fb02cc5a8bae22f2eca4f60d84550b30a19d723a (diff) |
debug_utilities: Create ast_loggrabber
ast_loggrabber gathers log files from customizable search patterns,
optionally converts POSIX timestamps to a readable format and
tarballs the results.
Also a few tweaks were made to ast_coredumper.
Change-Id: I8bfe1468ada24c1344ce4abab7b002a59a659495
(cherry picked from commit c70915287837704090d75f181525765de7a17221)
Diffstat (limited to 'configs/samples/ast_debug_tools.conf.sample')
-rw-r--r-- | configs/samples/ast_debug_tools.conf.sample | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/samples/ast_debug_tools.conf.sample b/configs/samples/ast_debug_tools.conf.sample index 90e976f1b..f26626b20 100644 --- a/configs/samples/ast_debug_tools.conf.sample +++ b/configs/samples/ast_debug_tools.conf.sample @@ -38,3 +38,20 @@ COREDUMPS=(/tmp/core[-._]asterisk!(*.txt) /tmp/core[-._]$(hostname)!(*.txt)) # # Readable Local time DATEFORMAT='date +%FT%H-%M-%S%z' + +# A list of log files and/or log file search patterns using the +# same syntax as COREDUMPS. +# +LOGFILES=(/var/log/asterisk/messages* /var/log/asterisk/queue* \ + /var/log/asterisk/debug* /var/log/asterisk/security*) + +# ast_loggrabber converts POSIX timestamps to readable format +# using this Python strftime format string. If not specified +# or an empty string, no format covnersion is done. +LOG_DATEFORMAT="%m/%d-%H:%M:%S.%f" + +# The timezone to use when converting POSIX timestamps to +# readable format. It can be specified in "<continent>/<city>" +# format or in abbreviation format such as "CST6CDT". If not +# specified, the "local" timezone is used. +# LOG_TIMEZONE= |