[asterisk-bugs] [Asterisk 0017492]: logger.conf does not create subdirectories or give warnings about them missing
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 9 10:58:30 CDT 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=17492
======================================================================
Reported By: lmadsen
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17492
Category: Core/Configuration
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 260521
Request Review:
======================================================================
Date Submitted: 2010-06-09 07:39 CDT
Last Modified: 2010-06-09 10:58 CDT
======================================================================
Summary: logger.conf does not create subdirectories or give
warnings about them missing
Description:
Today in testing and documenting the logger.conf, we read that logging can
be performed into a full path if you start the filename with a front-slash
(we feel you should also be able to specify a relative path from
/var/log/asterisk by defining something like: mydirectory/messages -- but
we know that is a feature request).
However, if you specify something like:
/var/log/asterisk/my_new_directory/messages =>
verbose,notice,warning,error
Then when you do the 'logger reload' you can see that it has loaded
successfully with 'logger show channels', but no ERROR is produced showing
that the directory does not exist, or an inability to write to the location
specified.
No error is also produced when the logging takes place (i.e. when you
place a call).
I believe this could be a pretty major error for someone who may expect
the logging to work like that ;)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-06-09 10:58 lmadsen Reproducibility sometimes => always
======================================================================
More information about the asterisk-bugs
mailing list