xF2 Beta - Monolog Logging Service | NulledTeam UnderGround | The Best Scripts Site In The World
  • Read Our Rules

    Dont forget read our rules Nulled Team UnderGround Rules

  • You may not say thanks or replied bad language in a thread - Your reply will be removed and warning! You must be like us "overview" in the resource. You will be access to download in FREE SECTION ONLY! DO NOT PREMIUM SECTION! Is only upgrade to up account.
  • Please support our site and click on the advertised
  • Complete Installation Service

    Review Our XenForo Complete Installation Service
  • Multiple Accounts

    Dont forget we not allowed Multiple Accounts, so all of your accounts as well as your IP will ban

Resource icon

xF2 Beta Monolog Logging Service 3.0.0

No permission to download
Compatible XF Versions 2.x
2.0
Additional Requirements
PHP 7.0+
This XenForo 2.0 addon adds logging functionality using the Monolog library from https://github.com/Seldaek/monolog

Features
  • Log to a file
  • Send logs via email
  • Emailed logs are deduplicated and buffered
  • Configure minimum logging levels for files vs email logging
  • Add extra visitor data to logs: user_id and username
  • Add extra web data to logs: current request URI, request method and client IP
  • Test tool included to verify that logs are being written to disk - go to AdminCP > Tools > Checks and tests > Test Monolog




Usage Instructions

By default, this addon will log events to a file called internal_data/monolog.log - this is configurable.

To use the default logging facility, do the following in your addon code:
PHP:
You don't have permission to view the code content. Please Log in or register now.
However, it is recommended that you create your own channel for your addon to make it easier to filter log entries:

PHP:
You don't have permission to view the code content. Please Log in or register now.
Refer to the documentation for more detailed usage instructions for Monolog.

You can create your own handler stack to customise how things are logged:

PHP:
You don't have permission to view the code content. Please Log in or register now.
Refer to Handlers, Formatters and Processors for more information.
Author
AnimeHaxor
Downloads
2
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AnimeHaxor

Share this resource

Latest updates

  1. v3.0.0 new addon_id

    I am changing the structure of the addon_id I use for my addons - so this version is a...
  2. Bug fix

    was using the wrong subcontainer name move subcontainer out of XF namespace bump version_id to...
  3. New configuration options; email support

    added helper class for logging added support for emailing log messages added configuration...

Dear User!

We found that you are blocking the display of ads on our site.

It looks like you're using an ad blocker. That's okay. Who doesn't?

But without advertising-income, we can't keep making this site awesome.

Thank you for understanding!