From: <kr...@us...> - 2006-08-10 19:12:14
|
Revision: 215 Author: krisk84 Date: 2006-08-10 12:12:09 -0700 (Thu, 10 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=215&view=rev Log Message: ----------- asterisk log fixes Modified Paths: -------------- trunk/package/asterisk/asterisk.mk trunk/package/lmsensors/lmsensors.init trunk/package/netsnmp/netsnmp.init Added Paths: ----------- trunk/package/asterisk/logger.conf Modified: trunk/package/asterisk/asterisk.mk =================================================================== --- trunk/package/asterisk/asterisk.mk 2006-08-10 18:55:38 UTC (rev 214) +++ trunk/package/asterisk/asterisk.mk 2006-08-10 19:12:09 UTC (rev 215) @@ -71,6 +71,7 @@ touch -c $(TARGET_DIR)/$(ASTERISK_TARGET_BINARY) -rm $(TARGET_DIR)/etc/asterisk/*.old mv $(TARGET_DIR)/etc/asterisk $(TARGET_DIR)/stat/etc/ + $(INSTALL) -D -m 0755 package/asterisk/logger.conf $(TARGET_DIR)/stat/etc/asterisk/logger.conf chmod 750 $(TARGET_DIR)/stat/etc/asterisk chmod 640 $(TARGET_DIR)/stat/etc/asterisk/* ln -sf /tmp/etc/asterisk $(TARGET_DIR)/etc/asterisk Added: trunk/package/asterisk/logger.conf =================================================================== --- trunk/package/asterisk/logger.conf (rev 0) +++ trunk/package/asterisk/logger.conf 2006-08-10 19:12:09 UTC (rev 215) @@ -0,0 +1,69 @@ +; +; Logging Configuration +; +; In this file, you configure logging to files or to +; the syslog system. +; +; "logger reload" at the CLI will reload configuration +; of the logging system. + +[general] +; Customize the display of debug message time stamps +; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS) +; see strftime(3) Linux manual for format specifiers +;dateformat=%F %T +; +; This appends the hostname to the name of the log files. +;appendhostname = yes +; +; This determines whether or not we log queue events to a file +; (defaults to yes). +;queue_log = no +; +; This determines whether or not we log generic events to a file +; (defaults to yes). +;event_log = no +; +; +; For each file, specify what to log. +; +; For console logging, you set options at start of +; Asterisk with -v for verbose and -d for debug +; See 'asterisk -h' for more information. +; +; Directory for log files is configures in asterisk.conf +; option astlogdir +; +[logfiles] +; +; Format is "filename" and then "levels" of debugging to be included: +; debug +; notice +; warning +; error +; verbose +; dtmf +; +; Special filename "console" represents the system console +; +; We highly recommend that you DO NOT turn on debug mode if you are simply +; running a production system. Debug mode turns on a LOT of extra messages, +; most of which you are unlikely to understand without an understanding of +; the underlying code. Do NOT report debug messages as code issues, unless +; you have a specific issue that you are attempting to debug. They are +; messages for just that -- debugging -- and do not rise to the level of +; something that merit your attention as an Asterisk administrator. Debug +; messages are also very verbose and can and do fill up logfiles quickly; +; this is another reason not to have debug mode on a production system unless +; you are in the process of debugging a specific issue. +; +;debug => debug +console => notice,warning,error +;console => notice,warning,error,debug +;messages => notice,warning,error +;full => notice,warning,error,debug,verbose + +;syslog keyword : This special keyword logs to syslog facility +; +syslog.local0 => notice,warning,error +; Modified: trunk/package/lmsensors/lmsensors.init =================================================================== --- trunk/package/lmsensors/lmsensors.init 2006-08-10 18:55:38 UTC (rev 214) +++ trunk/package/lmsensors/lmsensors.init 2006-08-10 19:12:09 UTC (rev 215) @@ -17,7 +17,7 @@ start () { if [ -r /etc/sensors.conf ] then -echo "Configuring sensors" +echo "Configuring sensors..." if [ "$SENSEMODS" ] then Modified: trunk/package/netsnmp/netsnmp.init =================================================================== --- trunk/package/netsnmp/netsnmp.init 2006-08-10 18:55:38 UTC (rev 214) +++ trunk/package/netsnmp/netsnmp.init 2006-08-10 19:12:09 UTC (rev 215) @@ -17,7 +17,7 @@ start () { if [ -f /etc/snmp/snmpd.conf ] then -echo "Starting snmpd" +echo "Starting snmpd..." snmpd -u nobody -g nobody -p /var/run/snmpd.pid fi } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |