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 projects in the local cluster, including the project log file, esp_server.log, are placed in <ESP_HOME>\SybaseESP\5.0\workspace\<workspace-name>.<project-name>.<instance-number>.
Remote cluster nodes have their own node-specific base directories. The node base directory is <ESP_HOME>/cluster/projects/<node-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.
esp_client -p [<host>:]<port></workspace-name/project-name> -c <username>:<password> "loglevel <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.