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.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • For incorta service log level: 

    by default, incorta prints errors and warning messages only, if you need to reduce tracing to the minimum (SEVERE) 

    1. Navigate to <Incorta_home>/IncortaNode/services/<service_id>/incorta
    2. 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: 

    log4j.rootCategory=INFO, console

         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

    Like 1
  • Hi Ahmed,

    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. 

    Thank you.

  • Hi,

    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:

    Like 2
      • Ryan Sather
      • Gate City Bank
      • Ryan_Sather
      • 1 yr ago
      • 1
      • Reported - view

      Seth Luersen That is exactly what I was looking for, thank you.

      Like 1
Like Follow
  • Status Answered
  • 1 yr agoLast active
  • 4Replies
  • 104Views
  • 3 Following

Product Announcement

A new community experience is coming! If you would like to have beta access to provide feedback, please contact us at community@incorta.com.