Format of Logging Setting - Server Configurations
I would like to reduce the level of logging on our production system for the analytics and loading services. Actually for everything, services, spark, etc. I found this setting in the Cluster Configurations -> Server Configurations
Expression should be as following component1=level1[:component2=level2] and valid logging Levels are OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST and ALL.
I've looked around to find an example of what the component names would be and haven't found anything. Is this just the service name (analyticsService,loaderService) or is it something different? Any help is appreciated.
For incorta service log level:
by default, incorta prints errors and warning messages only, if you need to reduce tracing to the minimum (SEVERE)
- Navigate to <Incorta_home>/IncortaNode/services/<service_id>/incorta
- Edit the file logging.properties , add/update the below 2 lines to:
2incorta.com.incorta.logging.ConsoleHandler.level = SEVERE
com.incorta.engine.level = SEVERE
3. restarted the service
To reduce Spark log level:
1. Navigate to <spark_home>/conf
2. Edit the file 'log4j.properties.template' add/update the below line to:
3. Rename the file to 'log4j.properties
4. Restart spark services
For more information, please check:
Spark Troubleshooting guide: Debugging Spark Applications: How to pass log4j.properties from executor and driver
Thank you for the information. I checked what was currently set on our environments and both of them had the file logging.properties but both of them were just empty files. Our current logs have DEBUG, INFO, WARN, ERROR entries in all of them so I'm curious about the default level printing ERROR and WARNING messages only.
I will review the information in the link provided as well.
The Diagnostics setting refers to the package and namespace. You can identify these in the logs, for example, by grepping for com.incorta.
Here is an example for SEVERE: