Log specification: All outputs of the project are output through the log framework, even if output to the console
1.Tomcat log, due to the log, will not be split by day (Linux), instead of log4j, mainly used to output all console information, the project did not intercept the exception
2. Project Access log, record, time, IP, access path (URL or interface), owning module, MySQL (table partition) or MongoDB (note memory problem), mainly used for statistical
3. Operation Log, record, time, member, IP, access path (URL or interface), module of the registered member of the project , using MySQL (table partitioning) or MONGODB (note memory issues), mainly used for statistical
4. The key function of the project tracking log, such as related to different systems call synchronization, involving the amount, with Logback and MySQL (table partition) simultaneously recorded , mainly for error tracking, management
5. Project scheduled task log, record, time, task, status, with Logback, separate out a file record Logback_job.log
6. The project can intercept abnormal log, record, time, exception, with Logback, consider the output to the console, let it write to Tomcat log, easy to manage the exception, or independently of a file record Logback_ Error.log
Javaweb System Log Scheme