Mercurial > p > roundup > code
comparison doc/customizing.txt @ 2572:d15b71b8a85a
more logging goodness
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 14 Jul 2004 01:20:47 +0000 |
| parents | bad572863a85 |
| children | 7575854ecee5 |
comparison
equal
deleted
inserted
replaced
| 2571:58848e3b6bb8 | 2572:d15b71b8a85a |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.141 $ | 5 :Version: $Revision: 1.142 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 157 a central user. | 157 a central user. |
| 158 | 158 |
| 159 **LOGGGING_CONFIG** - ``os.path.join(TRACKER_HOME, 'logging.ini')`` | 159 **LOGGGING_CONFIG** - ``os.path.join(TRACKER_HOME, 'logging.ini')`` |
| 160 This variable activates logging of Roundup's internal messages using the | 160 This variable activates logging of Roundup's internal messages using the |
| 161 standard python ``logging`` module. The module is configured using the | 161 standard python ``logging`` module. The module is configured using the |
| 162 indicated configuration file. | 162 indicated configuration file. See the `admin guide`_ for more detail. |
| 163 | 163 |
| 164 **LOGGING_FILENAME** - ``'/path/to/log file'`` | 164 **LOGGING_FILENAME** - ``'/path/to/log file'`` |
| 165 This variable activates logging of Roundup's internal messages using a | 165 This variable activates logging of Roundup's internal messages using a |
| 166 built-in minimal logging service which appends messages to the indicated | 166 built-in minimal logging service which appends messages to the indicated |
| 167 file. | 167 file. See the `admin guide`_ for more detail. |
| 168 | 168 |
| 169 **LOGGING_LEVEL** - ``'DEBUG'``, ``'INFO'``, ``'WARNING'`` or ``'ERROR'`` | 169 **LOGGING_LEVEL** - ``'DEBUG'``, ``'INFO'``, ``'WARNING'`` or ``'ERROR'`` |
| 170 This variable determines the level of messages logged by the built-in | 170 This variable determines the level of messages logged by the built-in |
| 171 logging service - messages of the level named and higher will be sent to | 171 logging service - messages of the level named and higher will be sent to |
| 172 the ``LOGGING_FILENAME`` file. Not used when the ``LOGGGING_CONFIG`` | 172 the ``LOGGING_FILENAME`` file. Not used when the ``LOGGGING_CONFIG`` |
| 173 variable is set. | 173 variable is set. See the `admin guide`_ for more detail. |
| 174 | 174 |
| 175 **MESSAGES_TO_AUTHOR** - ``'new'``, ``'yes'`` or``'no'`` | 175 **MESSAGES_TO_AUTHOR** - ``'new'``, ``'yes'`` or``'no'`` |
| 176 Send nosy messages to the author of the message? | 176 Send nosy messages to the author of the message? |
| 177 If 'new' is used, then the author will only be sent the message when the | 177 If 'new' is used, then the author will only be sent the message when the |
| 178 message creates a new issue. If 'yes' then the author will always be sent | 178 message creates a new issue. If 'yes' then the author will always be sent |
| 265 # or a minimal logging facility built into Roundup. The former is activated | 265 # or a minimal logging facility built into Roundup. The former is activated |
| 266 # when you provide a LOGGING_CONFIG variable below which contains the | 266 # when you provide a LOGGING_CONFIG variable below which contains the |
| 267 # configuration of the logging module. The latter is activated when you | 267 # configuration of the logging module. The latter is activated when you |
| 268 # provide the LOGGING_FILENAME and optionally LOGGING_LEVEL variables. If | 268 # provide the LOGGING_FILENAME and optionally LOGGING_LEVEL variables. If |
| 269 # none of these variables are defined then only errors will be logged, and | 269 # none of these variables are defined then only errors will be logged, and |
| 270 # they will go to stderr. | 270 # they will go to stderr. See the Admin Guide for more detail. |
| 271 # LOGGGING_CONFIG = os.path.join(TRACKER_HOME, 'logging.ini') | 271 # LOGGGING_CONFIG = os.path.join(TRACKER_HOME, 'logging.ini') |
| 272 # or, | 272 # or, |
| 273 # LOGGING_FILENAME = '/path/to/log file' | 273 # LOGGING_FILENAME = '/path/to/log file' |
| 274 # LOGGING_LEVEL = 'INFO' # one of 'DEBUG', 'INFO', 'WARNING', 'ERROR' | 274 # LOGGING_LEVEL = 'INFO' # one of 'DEBUG', 'INFO', 'WARNING', 'ERROR' |
| 275 | 275 |
| 4055 | 4055 |
| 4056 Back to `Table of Contents`_ | 4056 Back to `Table of Contents`_ |
| 4057 | 4057 |
| 4058 .. _`Table of Contents`: index.html | 4058 .. _`Table of Contents`: index.html |
| 4059 .. _`design documentation`: design.html | 4059 .. _`design documentation`: design.html |
| 4060 | 4060 .. _`admin guide`: admin_guide.html |
| 4061 |
