/opt/ztessc_scan/web_ui/logs/*.log {
    weekly              # 默认每周轮换一次
    size 10M            # 如果文件超过 10MB，则立即提前轮换
    rotate 4
    missingok
    notifempty
    compress
    nocreate
}

/opt/ztessc_scan/twain_client/logs/*.log {
    weekly              # 默认每周轮换一次
    size 10M            # 如果文件超过 10MB，则立即提前轮换
    rotate 4
    missingok
    notifempty
    compress
    nocreate
}