PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Logging » Log

Logging Framework

Download latest release 1.14.6 (there might be newer Composer installable version)

License: MIT License

Description

The Log package provides an abstracted logging framework. It includes output handlers for log files, databases, syslog, email, Firebug, and the console. It also provides composite and subject-observer logging mechanisms.

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#282ClosedBug2003-11-21Log_win handler generates broken javascript
#648ClosedBug2004-01-31Test depends on to new a SQLite
#1121No FeedbackBug2004-04-03receive Call to a member function on a non-object on test files
#1811ClosedReq2004-07-06The log_id table needs to be configurable for Log_sql
#1947ClosedBug2004-07-22When using Log_composite, children never get the close() method !
#2137ClosedReq2004-08-16Identifier string for sql logs is too restrictive
#2212ClosedBug2004-08-24multiple Log_win badly adresses target window
#2606ClosedReq2004-10-24Please add nl2br() to Log_Display->log()
#2800ClosedReq2004-11-20Improves PEAR_ErrorStack uses
#2853ClosedReq2004-11-29Request for Log::stringToPriority
#3570Wont fixReq2005-02-23Request addging rolling logger functionality
#3665No FeedbackBug2005-03-02Examples produce warnings
#3840Wont fixReq2005-03-15Verbose log level for detailed debug
#3931ClosedBug2005-03-23PEAR_LOG_DEBUG messages are not handled with syslog handler
#3989No FeedbackBug2005-03-29_mkdate recursion broken for windows
#4064No FeedbackBug2005-04-05log_file logs messages in one big heap
#4107ClosedBug2005-04-08Mail Handler doesn't send carriage return
#4114ClosedBug2005-04-11mkpath ignores filemode for createing directories
#4237No FeedbackBug2005-04-27Log_console
#4768ClosedBug2005-07-08PEAR::Log and PHP 4.4.0RC2 warning message
#4771ClosedReq2005-07-08MDB2 support
#4873ClosedBug2005-07-20Log_mdb2 with $options['db'] causes error
#4948ClosedReq2005-07-29mode-as-string conversion problem
#5014ClosedReq2005-08-05Log_display should allow to overwrite the <br/> at the end of the output
#5137DuplicateBug2005-08-18php 5.1.0. b3 produces a notice
#5182ClosedReq2005-08-23Return new instance without including the handler class
#5192ClosedBug2005-08-23Method getIdent returns nothing for Composite Log
#5261ClosedBug2005-09-01Bogus notice in pa : Only variable references should be returned by reference
#5263BogusBug2005-09-01Missing php close tag ("?>") in Log.php
#5273ClosedBug2005-09-01E_WARNING generated when opening log file
#5418ClosedReq2005-09-15Log_file: chmod and posix
#5603ClosedReq2005-10-04php 4.4 and later version support
#5658ClosedBug2005-10-11LOG 0.9.0 breaks __autoload
#5702ClosedBug2005-10-16sql bug when using an existing connection
#5703ClosedReq2005-10-16sql: allow arbitrary sql usage
#5771DuplicateBug2005-10-24Log_sql objects passed a DB handle fail when log() is called
#5776ClosedBug2005-10-25PHP 4.4 compat patch for observer.php
#5777ClosedBug2005-10-25Log 1.9.1 Call to undefined method Log_sql::_sql()
#6059ClosedReq2005-11-24Please relicence, PHP licence not really fit
#6185ClosedBug2005-12-07factory fails with autoload
#6214ClosedReq2005-12-09The SQL handler shouldn't depend on DB.php
#6323ClosedBug2005-12-22MDB2 related fixes
#6689ClosedBug1.9.32006-02-03Log::factory not return by reference
#6831ClosedBug1.9.32006-02-18Observer factory method include path is not correct
#7205Wont fixBug1.9.32006-03-26log time should not be affected by localization
#7523ClosedBugCVS2006-04-29Sqlite required to install Log
#7602ClosedBug1.9.52006-05-11Error on _getBacktraceVars for composite log
#7629ClosedBug1.9.52006-05-15strftime(%T) does not work under MS Windows 2000
#8583ClosedBug1.9.82006-08-29Log_Win sometimes doesn't show message due to headers not being present
#8766ClosedBug1.9.82006-09-22Log hangs
#8865ClosedBug1.9.92006-10-05Using Log_mail with Log_composite results in empty emails
#9011BogusBug1.9.92006-10-12register_shutdown_function() of Log child is called several times
#9023ClosedBug1.9.92006-10-14Regression tests extract2 fail with PHP 5.2.0
#9032ClosedReqCVS2006-10-14Optionally limit the number of lines in a log file
#9262ClosedReq1.9.92006-11-07Request for multiple recipitents and /or cc emails for mail log
#9379SuspendedReq1.9.92006-11-19Need a setEncoding method?
#9388ClosedBug1.9.92006-11-19File Log doesn't check file point
#9524Wont fixBug1.9.92006-12-01php syslog has a limit of 500 characters which can cause truncation
#9822ClosedBug1.9.92007-01-13using syslog "steals" the apache error logging if it uses syslog
#9880BogusReq1.9.92007-01-19Add MDB2
#9908BogusBug1.9.92007-01-22include class, classexist
#9930BogusReq1.9.92007-01-23Being able to use existing MDB2-instance
#10666ClosedReq1.9.102007-04-09Convert Log_sql.php to MDB2
#11046No FeedbackBug1.9.112007-05-15MDB2_Driver_pgsql::sleep() using MDB2 to Log
#11189No FeedbackBug1.9.112007-05-31error with win logger
#11758ClosedDoc2007-08-04User note that is a documentation problem
#11793DuplicateDocCVS2007-08-08external link broken
#12127SpamReq1.9.112007-09-27Problem with class_exists()
#12607ClosedReq1.9.112007-12-04avoid errors in IE if logging to firebug console
#12654ClosedBug1.9.112007-12-11The Window handler is not working properly.
#12674ClosedDoc1.9.122007-12-12firebug.phpt test failed..
#12675ClosedBug1.9.122007-12-12Cannot instantiate a handler
#12734ClosedBug1.9.132007-12-20Issue is SQL Logger - does not correctly accept new log statement
#12781ClosedReq1.9.132007-12-27New log handler / modify existing log handler
#12810ClosedBug2008-01-02Firebug log driver causes script error in IE
#12839ClosedReq1.9.142008-01-06Let the 'mail' handler use the Mail package
#12847ClosedBug1.9.142008-01-07is_a deprecated warning messages
#12933ClosedBug1.9.162008-01-20levels test failed on x86_64
#13093BogusBug1.9.162008-02-09Returning a reference is now depricated
#13168ClosedBug1.10.02008-02-21Error in sql.php
#13436ClosedBug1.10.02008-03-19display handler line break property default empty string
#14071ClosedReq1.10.12008-06-04Update to PHP5 Strict compatible
#14154BogusBug1.11.02008-06-16Series of notices when running Log in sql mode
#14398ClosedReq1.11.02008-07-23_getBacktraceVars creates notices
#14430ClosedReq1.11.02008-07-31_extractMessage produces incomplete output when given NULL or a bool
#14595ClosedBug1.11.12008-09-04PHP Notice from Log::_getBacktraceVars() method
#14624Wont fixReq1.11.22008-09-09store messages for later use
#15063ClosedReq1.11.22008-11-17_getBacktraceVars lacks 'class'
#15092No FeedbackBug1.11.32008-11-19Some DBs need uppercase column names
#15379ClosedBug1.11.32008-12-22win log not working with output_buffering=on
#15883No FeedbackReq2009-02-08Add in FirePHP output support
#16124Wont fixReq1.11.42009-04-19Add EOL option support for error_log
#16126No FeedbackReq1.11.42009-04-19Add FirePHP handler in future PEAR::Log distribution
#16282Wont fixBug1.11.42009-06-03members not marked as 'static'
#16398Wont fixReq1.11.42009-07-02Log Rotate is a must to have feature for critical applications
#16399DuplicateReq1.11.42009-07-02Log Rotate is a must to have feature for critical applications
#16452ClosedBug1.11.42009-07-18Shortcut log methods log class name incorrectly
#16532BogusBug1.11.52009-08-171.11.5 is not 1.11.5
#16568BogusReq1.11.52009-09-04Assigning the return value of new by reference is deprecated
#16743ClosedBug1.11.52009-10-26Warning in 5.3.0: Assigning the return value of new by reference is deprecated
#16862BogusBug2009-12-02strftime() error sending mail
#16988SuspendedReq1.11.62010-01-11Can't really use _isMasked with composite logger
#17027BogusBug1.11.62010-01-22error_log() expects parameter 2 to be long, string given
#17356ClosedBug1.12.02010-04-29Composite bug
#17509ClosedBug1.12.12010-06-21static use of non-static methods
#17635DuplicateBug1.12.12010-07-27PHP strict warnings for static methods Log::factory() and Log::singleton()
#17738ClosedBug1.12.12010-08-18Undefined index: class
#17753ClosedReq1.12.12010-08-19Suport lineFormat for syslog writer
#17785ClosedBug1.12.12010-08-22Composite Logger Opens all sub-loggers
#17830ClosedReq1.12.22010-08-29tests fails because of date.timezone warnings
#17874ClosedBug1.12.22010-09-20logging to console with standard options gives PHP NOTICE
#18099ClosedBug1.12.42010-12-06levels.phpt fails on 32bits computer
#18141ClosedBug1.12.42010-12-23Firebug breaking with quotes in message (fix included)
#18185ClosedReq1.12.52011-01-12call openlog() in each log()
#18423ClosedReq1.12.52011-04-04configurable starting backtrace $depth
#18617ClosedReq1.12.62011-06-20Log to Chrome consol - feature request
#18795ClosedBug1.12.62011-09-06Unable to install package due to issue with Log
#18830ClosedBug1.12.62011-09-13Assigning the return value of new by reference is deprecated
#18860ClosedDocUnknown2011-09-22composite and singleton
#18861DuplicateBugUnknown2011-09-22composite and singleton
#18864ClosedBug1.12.72011-09-22Test fails with PHP 5.1.6