runopencode/dm-log-file-manager-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

runopencode/dm-log-file-manager-plugin

Composer 安装命令:

composer require runopencode/dm-log-file-manager-plugin

包简介

dmLogFileManagerPlugin - manage log files of Diem Extended

README 文档

README

Author: TheCelavi Version: 1.0.0 Stability: Stable
Date: December 9th, 2012
Courtesy of Run Open Code
License: Free for all

dmLogFileManagerPlugin for Diem Extended is manager for log files in Diem Extended. It can be used for download of log files, as well as for cleaning their content.

Configuration

In dmLogFileManagerPlugin/config/dm/config.yml are default configuration values.

default:
  dmLogFileManagerPlugin:
    extensions:
      - log
    locations:
      Production:
        - %SF_ROOT_DIR%/data/dm/log
      Development:
        - %SF_LOG_DIR%

extensions configures possible extensions of log files. Default is .log.

locations defines the sections of log files, as well as directory where those files can be found.

dmLogFileManagerPlugin will manage only files that are configured.

Administration

Go to System > Log > Files and you will see the list of log files. Each file can be:

  • Downloaded
  • Cleaned (emptied content)

In order to see list of log files and to download some or all of them, user must have a see_log permission associated.

In order to clean log file, user must have a log permission associated.

Task

Logs can be cleaned via console, by using a task dm:log-file-cleaner.

By default, all log files are being cleaned. However, you can provide additional parameters:

  • section=[name-of-the-section] - cleans logs from provided section name only
  • file=[path-to-log-file] - cleans given log file

Shortcuts for section is s and for file is f.

The task can be executed periodically, via cron.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Free
  • 更新时间: 2012-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固