定制 tscms/logviewer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

tscms/logviewer

Composer 安装命令:

composer require tscms/logviewer

包简介

Logviewer for Kohana

README 文档

README

A Kohana module for exploring log files

Disclaimer

This module forks original one from https://github.com/ajaxray adding suport for Kohana's 3.2 log file format, which includes stack trace

Installation:

  1. Download this module and add the logviewer folder it to your MODPATH
  2. Enable it in the bootstrap file
  3. Go to http://your-app-root/logs
  4. You are done!

Kohana Log Viewer interface

How to use?

It's completely self explanatory. Here are some points for quick refs -

  • All months are listed on top nav. e.g, 2011/11
  • Left sidebar has a list of available log files in selected month
  • If not specified, today's (current month and day) log file will be displayed
  • If you want to see a fresh log for next call, just delete today's file. Kohana will generate it and add
  • Formatted mode (default) may not extract all info correctly for displaying in rows. Use raw mode for those situations. NEED IMPROVEMENT here.
  • You can use Level listbox for filtering by log levels.

Notes:

  • http://your-app-root/logs should display the log reports interface. If it don't, please check the routing in modules/logviewer/init.php
  • If you change the folder name, change the paths in modules/logviewer/views/logs/layout.php accordingly.
  • If you want to improve, please fork and participate.
  • If you've a suggestion or found a bug, please let me know at - anisniit(at)gmail.com
  • BE CAREFUL ABOUT USING ON PRODUCTION!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-09-22