承接 rurri/log4php-graylog2 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

rurri/log4php-graylog2

最新稳定版本:0.0.5

Composer 安装命令:

composer require rurri/log4php-graylog2

包简介

Log4Php to Graylog2 Connector

README 文档

README

Forked from https://github.com/d-ulyanov/log4php-graylog2. MIT License

Enhancements / Fixes from forked version:

-Converts project to a composer based project: no longer requiring manually copying files into log4php -Fixes the the issue of MDC_ being prepended to MDC key/values -Allows for file / line to be overridden enabling custom php error handling scripts to log the original file/line of the actual error. -Fixes timestamp not being logged correctly -Logs the logger name separate from the facility -Allows facility name to be overridden -Increases "Short Message" to 255

Using composer, adds the ability for 2 new appenders: LoggerAppenderAMQP and LoggerAppenderGraylog2.

You can pass log messages to Graylog2 or AMQP (RabbitMQ for ex.) using it.

Appender LoggerAppenderGraylog2 can pass messages directly to Graylog2 server.
Appender LoggerAppenderAMQP can pass messages to AMQP Server. In this case you can set up yours graylog2 to recieving messages from AMQP.

If you would like to pass messages in GELF format, use special layout: LoggerLayoutGelf

Usage:

  1. Add this project to your composer file
  2. Set up your log4php config file (see exampleConfig.xml):

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固