logrotate 是Linux系统自动的服务,nginx等也都用它来自动切割,简单可靠。 不过tomcat假如移动重命名文件后再创建文件 日志没办法继续写入的,所以要使用 copytruncate 模式 ,示例如下 : 在/etc/logrotate.d目录下新建配置文件,如 tomcat /apps/tomcat/apache-tomcat-9.*.*/logs/catalina.out{ copytruncate daily dateext nocompress missingok rotate 14 size 1500M create 640 tomcat tomcat } 测试验证服务: /usr/sbin/logrotate -f -v /etc/logrotate.d/tomcat 需要验证1 文件自动切割了 2. catalina.out文件自动清理 并且日志还在继续写入该文件 即可 。
Author Archive
Bid history for geekcity.com
2022-09-22 by Jinyang | No Comments | Filed in 域名Bid History Bid history for geekcity.com Starting Bid: $79.00 21-Sep-2022 14:25 PDT Bidder Date Bid Amount Comment mesacinza 21-Sep-2022 13:43 PDT $1,474.00 Bid Placed charybdisz 21-Sep-2022 13:38 PDT $1,424.00 Bid Placed mesacinza 21-Sep-2022 13:33 PDT $1,374.00 Bid Placed nj–catchname 21-Sep-2022 13:29 PDT $1,324.00 Bid Placed charybdisz 21-Sep-2022 13:29 PDT $1,274.00 Bid Placed mesacinza 21-Sep-2022 13:23 PDT $1,224.00 […]
NJXF.com
2022-09-19 by Jinyang | No Comments | Filed in 域名This domain auction ended on Monday, September 19, 2022 at 3:02 AM first1 High Bid $204 Sep 19, 2022 at 2:57 AM
Kuake.com
2022-09-13 by Jinyang | No Comments | Filed in 域名Expired and Dropped on Aug 29, 2022 This domain auction ended on Friday, September 2, 2022 at 3:41 AM first1 High Bid $9,950 Sep 2, 2022 at 3:36 AM wisely P $9,900 Sep 2, 2022 at 3:35 AM first1 $9,850 Sep 2, 2022 at 3:35 AM wisely P $9,800 Sep 2, 2022 at 3:35 AM first1 $9,750 Sep 2, 2022 at 3:35 AM wisely P $9,700 Sep 2, […]
SinoTime.com
2022-09-13 by Jinyang | No Comments | Filed in 域名Expired and Dropped on Sep 9, 2022 auction ended on Tuesday, September 13, 2022 at 3:42 AM Bid Amount Date ckrgksanrndghk High Bid $1,150 Sep 13, 2022 at 3:37 AM puntos $1,100 Sep 13, 2022 at 3:32 AM ckrgksanrndghk $1,050 Sep 13, 2022 at 3:30 AM puntos $1,000 Sep 13, 2022 at 3:26 AM lawyer0247 $950 Sep 13, 2022 at 3:22 AM puntos $900 Sep 13, 2022 at 3:20 AM […]
wendang.com
2022-06-27 by Jinyang | No Comments | Filed in 域名Expired and Dropped on Jun 23, 2022 This domain auction ended on Monday, June 27, 2022 at 3:28 AM $4,400
ZhengNeng.com
2022-04-30 by Jinyang | No Comments | Filed in 域名Expired and Dropped on Apr 26, 2022 This domain auction ended on Saturday, April 30, 2022 at 3:21 AM Bid Amount Date candan High Bid $1,551 Apr 30, 2022 at 3:16 AM waconua $1,501 Apr 30, 2022 at 3:15 AM candan $1,451 Apr 30, 2022 at 3:10 AM waconua $1,401 Apr 30, 2022 at 3:10 AM candan $1,351 Apr 30, 2022 at 3:05 AM waconua $1,301 Apr 30, […]