2017 © Pedro Peláez
 

symfony1-plugin dm-log-file-manager-plugin

dmLogFileManagerPlugin - manage log files of Diem Extended

image

runopencode/dm-log-file-manager-plugin

dmLogFileManagerPlugin - manage log files of Diem Extended

  • Sunday, December 9, 2012
  • by TheCelavi
  • Repository
  • 2 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

dmLogFileManagerPlugin for Diem Extended

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

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., (*2)

Configuration

In dmLogFileManagerPlugin/config/dm/config.yml are default configuration values., (*3)

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., (*4)

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

dmLogFileManagerPlugin will manage only files that are configured., (*6)

Administration

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

  • 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., (*8)

In order to clean log file, user must have a log permission associated., (*9)

Task

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

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

  • 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., (*12)

The task can be executed periodically, via cron., (*13)

The Versions

09/12 2012

dev-master

9999999-dev http://www.runopencode.com/projects/diem/plugins/dmLogFileManagerPlugin

dmLogFileManagerPlugin - manage log files of Diem Extended

  Sources   Download

Free for all

The Requires

 

plugin log diem diem extended dmlogfilemanagerplugin