定制 shel/neos-logs 二次开发

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

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

shel/neos-logs

最新稳定版本:1.5.1

Composer 安装命令:

composer require shel/neos-logs

包简介

Allows access to logfiles and exceptions from the Neos CMS backend

README 文档

README

Latest Stable Version Total Downloads License

This package provides a new module in the NeosCMS backend to view logs and exceptions of a Neos instance.

Usually it's recommended to use other, more powerful tools for this use case like Sentry or Kibana, but there are cases in which those tools cannot be used.

This package was built to help in situations where one has to quickly investigate something, e.g. to understand an error the client had with their site.

Features

  • Backend module
    • View all logfiles in the Data/Logs directory
      • Filter log lines by their level
      • Download logfiles
    • View all exception files in the Data/Logs/Exceptions directory
      • Shows shortened excerpt for each exception
      • Groups exceptions by their code or message to reduce clutter
      • Download exception files
      • Search for exceptions by code or their message
      • Mark recent exceptions
  • CLI
    • List all exceptions as table
    • Show details of an exception

Installation

Run this in your site package:

composer require --no-update shel/neos-logs 

Then run composer update in your project root.

Usage

After the installation, you will have a new backend module in Neos - available only for administrators - that will allow you to view all local log and exception files.

Lines in the logfiles can be filtered by their level. You can also change the number of lines that should be visible.

CLI

You can also use the CLI commands to list all exceptions or show details of a specific exception.

To list all exceptions:

./flow logs:exceptions

To show details of a specific exception:

./flow logs:showexceptions <exceptionId>

<exceptionId> is the filename of the exception file without the .txt extension. If you don't provide an id, the command will list all exceptions, and you can choose one to show details.

Examples

Overview screen:

Overview

Viewing a logfile:

Logfile

Search in exceptions:

Search exceptions

Exceptions in CLI:

CLI exceptions

Contributions

Contributions are very welcome!

Please create detailed issues and PRs.

If you use this package and want to support or speed up its development, get in touch with me.

Or you can also support me directly via patreon.

License

See License

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固