The Artima Developer Community
Sponsored Link

PHP Buzz Forum
PHP apache_note, Graphite & Logster for logging

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andrew Johnstone

Posts: 206
Nickname: andrewj02
Registered: Sep, 2004

Andrew M. Johnstone
PHP apache_note, Graphite & Logster for logging Posted: Jan 8, 2012 10:49 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Andrew Johnstone.
Original Post: PHP apache_note, Graphite & Logster for logging
Feed Title: Development, Analysis And Research
Feed URL: http://www.ajohnstone.com/feed/atom/
Feed Description: by Andrew Johnstone
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Andrew Johnstone
Latest Posts From Development, Analysis And Research

Advertisement
A nice tip for logging data against apache logs within requests. Apache_note is a wrapper for Apache’s table_get and table_set. It edits the table of notes that exists during a request. The table’s purpose is to allow Apache modules to communicate. if (function_exists('apache_note')) { if (isset($_SESSION) && !empty($_SESSION)) { apache_note('session_id', session_id()); apache_note('users_id', isset($_SESSION['users_id'])? $_SESSION['users_id'] : [...]

Read: PHP apache_note, Graphite & Logster for logging

Topic: PHPMaster: Introduction to PhpDoc Previous Topic   Next Topic Topic: PHPMaster: ClamAV as a Validation Filter in Zend Framework

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use