log4j JDBCAppender rotate table name

前端 未结 3 1686
旧巷少年郎
旧巷少年郎 2021-01-22 13:31

I have successfully configured an application that uses log4j for it\'s logging to log into a MySQL database. (Using org.apache.log4j.jdbc.JDBCAppender).

I also have som

3条回答
  •  清酒与你
    2021-01-22 14:02

    How about a script to run monthly and dump that particular table into a back up file and then zip it for archiving. Upon complete, truncate the table or delete rows within date range.

提交回复
热议问题