首页> 外国专利> METHOD FOR PROCESSING LOG BASED ON LOGROTATE TECHNOLOGY

METHOD FOR PROCESSING LOG BASED ON LOGROTATE TECHNOLOGY

机译:基于loglogate技术的日志处理方法

摘要

A method for processing a log based on logrotate technology, comprising the following steps: checking the usage rate of a magnetic disk for storing log data within a preset time period; when the usage rate is within the range of a first preset threshold, searching the magnetic disk for log data with the created date consistent with the date of a clock system as first log data, and using the remaining log data in the magnetic disk as second log data; deleting the second log data; and when the data volume of the first log data is greater than a second preset value, deleting log data of default level from the first log data. The usage rate of the magnetic disk is first checked, and log data is deleted only when the usage rate of the magnetic disk is within the range of the first preset threshold, rather than directly deleting all log data in the magnetic disk is not directly deleted within the preset time period, thereby ensuring the recording function of logs.
机译:一种基于对数旋转技术的日志处理方法,包括以下步骤:检查在预定时间段内用于存储日志数据的磁盘的使用率;当使用率在第一预设阈值范围内时,在磁盘上搜索创建日期与时钟系统日期一致的日志数据作为第一日志数据,并将磁盘中剩余的日志数据作为第二日志数据。日志数据;删除第二日志数据;当第一日志数据的数据量大于第二预设值时,从第一日志数据中删除默认级别的日志数据。首先检查磁盘的使用率,仅当磁盘的使用率在第一预设阈值范围内时才删除日志数据,而不是直接删除磁盘中的所有日志数据都不会直接删除在预设的时间段内,从而确保日志的记录功能。

著录项

  • 公开/公告号WO2019161551A1

    专利类型

  • 公开/公告日2019-08-29

    原文格式PDF

  • 申请/专利权人 HUANG YUCAI;

    申请/专利号WO2018CN77080

  • 发明设计人 HUANG YUCAI;

    申请日2018-02-24

  • 分类号G06F11/34;

  • 国家 WO

  • 入库时间 2022-08-21 11:53:27

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号