• 5
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Package for viewing “pretty” monolog files

Is there a package that is used for parsing monolog files and displaying them in a "pretty" HTML format with filtering for log level, etc?

I am the developer of the mentioned monolog-viewer, thanks Carlton for recommending it!

It does allow you to filter by log level and you can either install it once and access log files from multiple domains via FTP or install it on the same domain as the application and access the files locally.

If you think a feature is missing, feel free to open a GitHub issue and I'll see what I can do.

  • 10
Reply Report
      • 2
    • monolog-viewer seems to be a very good solution, but it's don't work with PHP 7.x... :-(

I haven't tried it yet but https://github.com/Syonix/monolog-viewer seems like an attractive solution.

If you are willing to change the handler that you have configured Monolog to use you could consider pushing messages to a 3rd party. They would present the logs in a pretty format with good filtering functionality. It's likely that these services may charge you for the service though.

https://github.com/Seldaek/monolog#log-specific-servers-and-networked-logging

  • 6
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags

Related Questions