Logging
Logging
application.yml
Logging:
path: /var/logs/
file: BookWorm.log
Level:
root: WARN
Org:
Springframework:
security: DEBUG
Assuming that the application has write permissions to /var/logs/, the log entries will
be written to /var/logs/BookWorm.log. By default, the log files will rotate once they
hit 10 megabytes in size.
Similarly, all of these properties can be set in application.properties like this:
logging.path=/var/logs/
logging.file=BookWorm.log
logging.level.root=WARN
logging.level.root.org.springframework.security=DEBUG