文件操作 - atp-agent.yaml
返回文件管理
返回主菜单
删除本文件
文件: /opt/acronis/etc/atp-agent.yaml
编辑文件内容
listen: http: 127.0.0.1:0 aakore: http: 127.0.0.1:9999 sd_health_collector: collect-interval: 300 # in seconds logger: rotation_size: 10485760 # rotation size, in characters max_files: 512 # maximum number of stored files min_free_space: 4294967296 # minimum free space on the drive, in bytes max_size: 2147483648 # maximum total size of the stored files, in bytes name_pattern: '%Y%m%d_%H%M%S_%5N.log' # logfile name pattern. must contain an extension (ex: .log) compression_active: true # log file compression flag retention_period: 30 # log files retention period in days. values > 0 global_log_level: trace # global log level module_log_levels: HTTPController: debug http_logging: exclude_log_uri: # list of sensitive/spamming uris, required '/' at the end - /api/credentials_store/v2/ - /bc/idp/token/ - /api/crs/v1/certificates/ - /api/agent/v1/units/ - /api/agent/v1/env/ response_log_limit: 10240 # size of displayed body of response, in bytes network: read_timeout: 240 # socket read timeout, in seconds task_manager: conditional_consume_retry_interval: 60 # in seconds allow_work_without_pm: false reboot_detector: uptime_duration: 300000 # in milliseconds start_timestamp_file_name: 'start_timestamp.yaml' # required to be .yaml file akk: mms_resource_id_required: true dumps: enabled: true count: 3 # max number of dumps to store; 0 means use application defined default
修改文件时间
将文件时间修改为当前时间的前一年
删除文件