Uploaded image for project: 'Blossom'
  1. Blossom
  2. BLOSSOM-267

Harmonize the definition logging for Blossom

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Minor
    • 3.4.1
    • 3.3.1
    • None
    • None

    Description

      In BLOSSOM-261 we changed the logging for DialogExporter from DEBUG level to INFO level.

      Let's also change it in:

      • Template Exporter
      • VirtualURIMappingExporter

      One more suggestion, I think we can remove the check to see if it's "turned on":

      // current
      if (logger.isInfoEnabled()) {
         logger.info("Registered dialog [" + dialogDescription.getId() + "]");
      
      // changed
      logger.info("Registered dialog [" + dialogDescription.getId() + "]");
      

      It would also be nice (but not required) if it looked closer to how YAML definitions work. There is a lot more information provided.

      2020-05-11 12:54:22,134 INFO  agnolia.config.source.yaml.YamlConfigurationSource: Registered definition from YAML file [/mtk/dialogs/components/html.yaml]: [dialog] definition [html] with reference id: [mtk:components/html] from module [mtk] at [components/html]
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD