Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15858

Allow to configure dynamically an empty list of tracing categories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 15.0.0.Final
    • Configuration, Tracing
    • None

      If we try to runtime change the tracing.categories at runtime and we put an empty list on it, we get a parsing error.

      Here is an example of the execution.

      private void updateConfig() {
            cacheManager.administration().withFlags(CacheContainerAdmin.AdminFlag.VOLATILE)
                  .updateConfigurationAttribute(cache.getName(), "tracing.categories","");
         }
      

      This is usually not required since we can update "tracing.enable" to "true" to disable the tracing on a given cache at runtime.

              fercoli@redhat.com Fabio Massimo Ercoli
              fercoli@redhat.com Fabio Massimo Ercoli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: