View Single Post
  #3 (permalink)  
Old 01-10-2008, 05:46 AM
socceroos socceroos is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Default

I did get it working. Here's the code I used:

Code:
  // Set up the logging system and put it in the Zend Registry.
  $columnMapping = array('priority' => 'priority', 'message' => 'message',
                         'timestamp' => 'timestamp', 'username' => 'user',
                         'address' => 'address');
  $writer = new Zend_Log_Writer_Db($DB, 'log', $columnMapping);
HTH,

Socceroos
Reply With Quote