• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
如何静
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2016年8月12日

tomcat 清理日志
摘要: clear_log.sh #!/bin/bash #clear tomcat logs #log size (1M bytes),if lt, clear LOG_FILE_SIZE=1024000 #define logs location logs=(/usr/local/tomcat/logs/catalina.out) for ff in "${logs[@]}"; ... 阅读全文
posted @ 2016-08-12 16:02 如何静 阅读(1546) 评论(0) 推荐(0)
 
Linux Crontab 定时任务 命令详解
摘要: 一. Crontab 介绍 crontab命令的功能是在一定的时间间隔调度一些命令的执行。 1.1 /etc/crontab 文件 在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontab。 如: [root@dave ~]# cat /e 阅读全文
posted @ 2016-08-12 14:39 如何静 阅读(123) 评论(0) 推荐(0)
 
tomcat 日志 和 对JDK log日志的扩展
摘要: As Tomcat internally uses JUL to log , you can use the system property java.util.logging.config.file to specify the file path of the properties file. 阅读全文
posted @ 2016-08-12 13:00 如何静 阅读(179) 评论(0) 推荐(0)
 
Spring Boot Logback应用日志
摘要: 日志对于应用程序来说是非常重要的,Spring框架本身集成了不少其他工具,我们自身的应用也会使用到第三方库,所以我们推荐在Spring应用中使用SLF4J/Logback来记录日志。 SLF4J与Logback简介 SLF4J——Simple Logging Facade For Java,它是一个 阅读全文
posted @ 2016-08-12 12:58 如何静 阅读(822) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3