News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jeremy Cook:
Turbocharging your Logs
October 03, 2012 @ 10:07:30

In a new post to his site Jeremy Cook introduces you to Graylog2, a logging server that can aggregate messages from multiple sources/feeds into one consolidated location.

Graylog stores them in a database and allows you to perform custom searches on them. You can also see in real time how many log messages are being received and processed. The real killer feature in Graylog is streams. A stream in Graylog is a predefined custom search. The server will display to you log messages that only match the stream criteria selected, graphing the results for you.

He mentions other features of the Graylog2 system including customized alerts, messaging via UDP/AMQP and how it uses MongoDb and ElasticSearch. He also introduces Monolog, a PHP tool that lets you log in multiple formats directly to the Graylog2 server. He includes an example of how it works with a sample "LoggingHelper" added as custom exception and error handlers.

0 comments voice your opinion now!
graylog2 tutorial monolog aggregate logging tutorial


blog comments powered by Disqus

Similar Posts

Web Developer Juice: 11 easy steps for installing Apache ActiveMQ and configuring it for PHP applica

Raphael Stolt's Blog: Scraping websites with Zend_Dom_Query

ZendCasts.com: Creating RSS & Atom Feeds with Zend_Feed

Andrew Perkin's Site: Cakephp Video Tutorials (Authentication)

Qandidate.com: Debugging PHP applications with HHVM


Community Events

Don't see your event here?
Let us know!


security voicesoftheelephpant release laravel library interview introduction podcast opinion community version example language list api extension framework laravel5 series php7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework