News Feed
Jobs Feed
Sections




News Archive
Design-Ireland.net:
Logging Messages to Scribe from PHP
November 19, 2010 @ 10:28:32

On the Design-Ireland.net site, there's a recent tutorial showing you how to log messages to Scribe from PHP. Scribe is Facebook's open sourced server for aggregating log data streamed in from multiple places.

n a previous tutorial, I showed you how to install Facebook Scribe on a Linux server. In this tutorial we will continue to look at Scribe, but this time from the client perspective. Note that this tutorial assumes that you already have your Scribe and Thrift environment set up as outlined in the previous tutorial. You can log messages to Scribe from many different languages. In this tutorial I will show you how to use Thrift to generate a PHP client, and then use that client from your own PHP project to log messages.

The tutorial walks you through setting up Thrift to work with your PHP installation and gives an example script to send your first messages over to the Scribe server. They also show how you can go into the Scribe instance's folders and look for the log information you just inserted.

0 comments voice your opinion now!
log message tutorial thrift scribe facebook


blog comments powered by Disqus

Similar Posts

Juozas Kaziukenas' Blog: Passing data from PHP to Silverlight

Script-Tutorials.com: How to Protect any Site from Spam using Akismet

DevShed: PHP, MySQL and the PEAR Database

Matthew Weier O'Phinney: ZF2 Modules Quickstart (Screencast)

Stefan Mischook's Blog: PHP Shopping Cart Video Tutorial Course - available for download.


Community Events









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


framework interview zendframework2 release example database object development composer introduction podcast phpunit api tool community language unittest opinion testing code

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