Apama 10.15.0 | Deploying and Managing Apama Applications | Deploying Apama Components with Command Central | Administering Apama in Command Central | Configuration types that Apama components support | Usage notes | Component logging
 
Component logging
You can configure the log files and log level when you create or update an instance of Apama component. These properties are optional. If you do not define these properties, the default values are assigned. The default logging level for all components is -INFO. The default log files are:
Component
Log location
correlator
logs/correlator-${INSTANCE_NAME}-${START_TIME}.log
IAF
logs/iaf-${INSTANCE_NAME}-${START_TIME}.log
Display server
logs/display-server-${INSTANCE_NAME}-${START_TIME}.log
Data server
logs/data-server-${INSTANCE_NAME}-${START_TIME}.log
The default value for the inputLog property for correlator is <empty>
The location of log files can be absolute path or relative path. The relative path of the log files is resolved from the APAMA_HOME/command-central/instances/ComponentType/instancename/logs/ directory.
To specify the log files and log level when you create an instance of an Apama component, you must specify the logging properties in key-value pairs in the sagcc create instances command as parameters. For example, logLevel=CRIT inputLog=default-correlator-input.log outputLog=correlator-output.log.
To specify the log files and log level when you update an instance of an Apama component, you must specify the logging properties in key-value pairs in the properties file.
The log files are located at APAMA_HOME/command-central/instances/ComponentType/instancename/logs/.
For more information on logging properties, see Setting EPL log files and log levels dynamically.