Difference between revisions of "APEL/SSMConfiguration"
< APEL
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
==== Things you might want to change ==== | ==== Things you might want to change ==== | ||
# log file location: | |||
** under the [handler_fileHandler] heading, change the line beginning 'args'. | ** under the [handler_fileHandler] heading, change the line beginning 'args'. | ||
** The 'a' argument means that the log file is appended to. | ** The 'a' argument means that the log file is appended to. | ||
** '''Beware!''' - the logging module won't expand environment variables, so you must use a full path | ** '''Beware!''' - the logging module won't expand environment variables, so you must use a full path | ||
# logging levels for stomppy or SSM: | |||
** under the [logger_*] headings, change the line beginning 'level'. The possible values are DEBUG, INFO, WARN, ERROR, CRIITICAL. | ** under the [logger_*] headings, change the line beginning 'level'. The possible values are DEBUG, INFO, WARN, ERROR, CRIITICAL. | ||
==== Things you probably don't want to change ==== | ==== Things you probably don't want to change ==== | ||
Everything else. If you know the python logging system, you can configure the logging as you like - see http://docs.python.org/library/logging.config.html. | Everything else. If you know the python logging system, you can configure the logging as you like - see http://docs.python.org/library/logging.config.html. |
Revision as of 11:56, 16 February 2012
Configuring the SSM
The SSM has two configuration files, located in $SSM_HOME/conf
.
We try to make the supplied configuration work without any changes. However, if you'd like to configure something differently, it should be simple.
ssm.cfg
This is in the python ConfigParser format - see http://docs.python.org/library/configparser.html.
Things you might want to change
Things you probably don't want to change
ssm.log.cfg
This is in the standard python logging module's format.
Things you might want to change
- log file location:
- under the [handler_fileHandler] heading, change the line beginning 'args'.
- The 'a' argument means that the log file is appended to.
- Beware! - the logging module won't expand environment variables, so you must use a full path
- logging levels for stomppy or SSM:
- under the [logger_*] headings, change the line beginning 'level'. The possible values are DEBUG, INFO, WARN, ERROR, CRIITICAL.
Things you probably don't want to change
Everything else. If you know the python logging system, you can configure the logging as you like - see http://docs.python.org/library/logging.config.html.