comparison templates/classic/config.py @ 2397:fa50e1347397

added basic logging support
author Richard Jones <richard@users.sourceforge.net>
date Tue, 08 Jun 2004 05:29:18 +0000
parents 702f9a6afdcf
children e80604dbe2af
comparison
equal deleted inserted replaced
2396:39cdddd313ca 2397:fa50e1347397
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: config.py,v 1.8 2004-03-26 23:45:34 richard Exp $ 18 # $Id: config.py,v 1.9 2004-06-08 05:29:18 richard Exp $
19 19
20 import os 20 import os
21 21
22 # roundup home is this package's directory 22 # roundup home is this package's directory
23 TRACKER_HOME=os.path.split(__file__)[0] 23 TRACKER_HOME=os.path.split(__file__)[0]
60 # tracker. You MUST include a trailing '/' in the URL. 60 # tracker. You MUST include a trailing '/' in the URL.
61 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/' 61 TRACKER_WEB = 'http://tracker.example/cgi-bin/roundup.cgi/bugs/'
62 62
63 # The email address that roundup will complain to if it runs into trouble 63 # The email address that roundup will complain to if it runs into trouble
64 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN 64 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
65
66 # These variables define where to log Roundup's internal messages to.
67 # You have two choices - either using the standard Python logging module
68 # or a minimal logging facility built into Roundup. The former is activated
69 # when you provide a LOGGING_CONFIG variable below which contains the
70 # configuration of the logging module. The latter is activated when you
71 # provide the LOGGING_FILENAME and optionally LOGGING_LEVEL variables. If
72 # none of these variables are defined then only errors will be logged, and
73 # they will go to stderr.
74 # LOGGGING_CONFIG = os.path.join(TRACKER_HOME, 'logging.ini')
75 # or,
76 # LOGGING_FILENAME = '/path/to/log file'
77 # LOGGING_LEVEL = 'INFO' # one of 'DEBUG', 'INFO', 'WARNING', 'ERROR'
65 78
66 # The 'dispatcher' is a role that can get notified of new items to the 79 # The 'dispatcher' is a role that can get notified of new items to the
67 # database. It is used by the ERROR_MESSAGES_TO config setting. 80 # database. It is used by the ERROR_MESSAGES_TO config setting.
68 DISPATCHER_EMAIL = ADMIN_EMAIL 81 DISPATCHER_EMAIL = ADMIN_EMAIL
69 82

Roundup Issue Tracker: http://roundup-tracker.org/