Difference between revisions of "APEL/SSMConfiguration"

From EGIWiki
Jump to: navigation, search
Line 22: Line 22:
  
 
* log file location:  
 
* log file location:  
** under the [handler_fileHandler] heading, change the line beginning 'args'.  The 'a' argument means that the log file is appended to.
+
** 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:
 
* 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.

Revision as of 11:55, 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.