logrotate模块用于处理日志文件轮转的相关任务
# -*- coding: utf-8 -*- ‘‘‘ Module for managing logrotate. ‘‘‘ # Import python libs import os import logging # Import salt libs import salt.utils log = logging.getLogger(__name__) default_conf = ‘/etc/logrotate.conf‘ # Define a function alias in order not to shadow built-in‘s __func_alias__ = { ‘set_‘: ‘set‘ }
本文出自 “Linux SA John” 博客,请务必保留此出处http://john88wang.blog.51cto.com/2165294/1627054
原文地址:http://john88wang.blog.51cto.com/2165294/1627054