Skip to content

Add 'scan' to DSL #8

Description

@herom

One of the advantages of Logback is that it's possible to change the configuration on the fly, during application run, and therefore it's perfect to change log levels for debugging purposes, etc.

Is it possible to declare the scan period for the LogbackConfig.groovy file (or the logback = {} closure)?

Here's the link to the Logback Documentation for this feature: http://logback.qos.ch/manual/configuration.html#autoScan


Edit

As a "workaround" would it be possible to work with the External Config Reload Plugin (https://github.com/adaptivecomputing/grails-external-config-reload) which fires an onConfigChange Event if an external config file got updated?
Is it possible to implement the onConfigChange Event (hook)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions