Class ApplicationLifecycleLogCdsPropertiesHandler

java.lang.Object
com.sap.cds.services.impl.application.ApplicationLifecycleLogCdsPropertiesHandler
All Implemented Interfaces:
EventHandler

public class ApplicationLifecycleLogCdsPropertiesHandler extends Object implements EventHandler
Handler to log cds properties on application prepared event.
  • Constructor Details

    • ApplicationLifecycleLogCdsPropertiesHandler

      public ApplicationLifecycleLogCdsPropertiesHandler()
  • Method Details

    • logCdsProperties

      public void logCdsProperties(ApplicationPreparedEventContext context)
      Logs messages when cds properties deviate from default values and warnings when the properties are deprecated or not documented.
      Per default, only warnings will be logged. To log all properties, set the log level to DEBUG using the application property: `logging.level.'com.sap.cds.properties'=DEBUG`
      You can also turn it off to save on the resources during application startup by setting the log level to OFF.