-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Description
Feature request for adding support for overriding logging properties via application.properties/yaml.
E.g. I want to easily override the FILE_LOG_PATTERN property.
To define this in the application.properties/yaml also gives the benefit that I can change it per environment.
Boot already offers
# LOGGING
logging.path=/var/logs
logging.file=myapp.log
logging.config= # location of config file (default classpath:logback.xml for logback)
logging.level.*= # levels for loggers, e.g. "logging.level.org.springframework=DEBUG" (TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)
Something like below maybe?
logging.property.FILE_LOG_PATTERN=
Reference: http://stackoverflow.com/questions/26629197/overriding-the-file-log-pattern-if-possible-per-env
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement