Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

APEL/SSMConfiguration

From EGIWiki
< APEL
Revision as of 10:56, 16 February 2012 by Wrogers (talk | contribs)
Jump to navigation Jump to search

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

  1. log file location:
    1. under the [handler_fileHandler] heading, change the line beginning 'args'.
    2. The 'a' argument means that the log file is appended to.
    3. Beware! - the logging module won't expand environment variables, so you must use a full path
  2. 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.