Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] Logging

propel
Discussion topic

Back to topic list

Re: [propel-dev] Logging

Reply

Author tony_bibbs
Full name Tony Bibbs
Date 2008-10-06 12:38:39 PDT
Message Dunno, never took a deep look into the internals of it. I just noted it uses PEAR::Log by default.

In digging around in the manual I dug this up:

http://propel.phpdb.​org/trac/wiki/Users/​Documentation/1.3/Co​nfigureLogging

So clearly you'd be justified in telling me to RTFM ;-)

...shutting up.

--Tony



----- Original Message ----
From: Hans Lellelid <hans at velum dot net>
To: dev at propel dot tigris dot org
Sent: Monday, October 6, 2008 1:53:25 PM
Subject: Re: [propel-dev] Logging

On Mon, 6 Oct 2008 10:58:05 -0700 (PDT), Tony Bibbs <tony at tonybibbs dot com>
wrote:
> Is there any interest in changing the logger? One of the frustrations I
> run into is we use a different logger (Zend_Log) since it was one of the
> first to be E_STRICT. I was thinking one options would be to use a
simple
> factory/singleton combination to support PEAR and Zend packages and it
> opens things up for inclusion of any other loggers moving forward.
> Another, possibly better option would be to allow users to register a
> logging call back function with Propel.

Well currently you can use your own logger (we do) by writing a simple
wrapper class that implements the [implied] BasicLogger interface. Is this
not good enough? I assume that most people using Propel in production are
using their own logging mechanism (?)

Hans


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
For additional commands, e-mail: dev-help at propel dot tigris dot org
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Re: [propel-dev] Logging tony_bibbs Tony Bibbs 2008-10-06 12:38:39 PDT
Messages per page: