- 29 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Modifying Brainspace Logging Verbosity
- Updated on 29 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
To increase the verbosity of the logging mechanisms in Brainspace 6, the logj4 files must be modified to the desired level.
Note
When increasing the debugging verbosity, log files will grow more quickly and therefore disk space should be monitored closely.
Logging Level | Description |
---|---|
DEBUG | The default logging level for Brainspace. |
TRACE | Provides more verbose output, TODO what information is added? |
Once a log level is selected, the following files should be modified to reflect the desired level.
Component Name | File Location | Example Configuration | Has been confirmed |
---|---|---|---|
Runtime Application | /var/lib/brains/app/apache-tomcat8/webapps/ROOT/WEB-INF/classes/log4j2.properties | log4j.rootLogger=DEBUG, BRAINSPACE | True |
Analysis / On-Demand Application | /var/lib/brains/app/analysis-Brainspace/lib/log4j2.properties | log4j.rootLogger=DEBUG, BRAINSPACE | False |
Batch Tools | /var/lib/brains/.brainspace/BatchTools/lib/log4j.properties | log4j.rootLogger=DEBUG, BRAINSPACE | False |
Streaming Ingestion | /var/lib/brains/.brainspace/brainspace.properties | debug.input=true | True |