Here is the basic logback configuration for these goals: One log file per day. Keep max n days’ log. Over old log file will be automatically deleted (n=30 in this demo) Max size of every log file x (x=200MB in this demo) logback.xml<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>
<configuration>
<!-- define where to store the log file --> ...
Tuesday, July 21, 2015
Thursday, July 2, 2015
How to set development/test/production environment in spring project (Java Config)
In real life development, a project always need different sets of configurations for development, system test and production environments. Most common variables in these different environments are database location or jms location. If the project uses spring and will not run in any container, the spring...
Subscribe to:
Posts (Atom)
Powered by Blogger.
About The Author

View my complete profile