Project Logging

Configure project logs to capture errors in running projects. You can configure logs for single or multiple projects in a cluster.

In Event Stream Processor, projects are run on local and remote clusters. Project logs are stored in different directories depending on whether the project is deployed on a local or remote cluster.

The files generated by a project in the local cluster, including the project log file, esp_server.log, are placed in the project working directory, which defaults to <user's-home-dir>\SybaseESP\5.1\workspace\<workspace-name>.<project-name>.<instance-number>.

Remote cluster nodes have their own node-specific base directories. The default base directory is <ESP_HOME>/cluster/projects/<cluster-name>, but this path can be modified. This is the parent directory for the project working directories, in which you can find the project log file, esp_server.log, specific to each project. All relative paths specified in CCL are relative to the project working directory.

Modify logging levels for projects in their project configuration files (.ccr), or using the Project Configuration Editor in Studio. For more information, see the Studio Users Guide.

To modify logging levels for a project at runtime, use esp_client:
esp_client -p [<host>:]<port></workspace-name/project-name> -c <username>:<password> "loglevel <level>"

Log level changes made with esp_client do not persist—you lose your changes to the logging level if you restart the project without also changing the logging level in the <project-name>.ccr file. After you change the logging level in <project-name>.ccr, stop and remove the project from the node, then redeploy the project to activate the new logging level.

The project working directory also contains the stdstreams.log file. This file receives all output written to stdout and stderr. This includes SySAM licensing information for Event Stream Processor, as well as messages from third party applications that write to stdout and stderr.

Related reference
File and Directory Infrastructure