Ticket #65 (closed task: fixed)

Opened 2 years ago

Last modified 1 year ago

Convert all loggers/listeners to use streams

Reported by: hans Assigned to: hans
Priority: critical Milestone: 2.3.0
Component: Version: 2.2.0
Keywords: Cc:

Description

Currently the default loggers in Phing just use print() to echo stuff out to STDOUT. This works fine until you want to specify a -logfile, which is supposed to be the file to which all -logger output is written. Currently only supported loggers (PearLogger and XmlLogger) will respect the -logfile settings.

We should use streams everywhere in the build listeners / loggers to get around this issue.

Attachments

Change History

02/06/07 20:33:12 changed by hans

  • status changed from new to closed.
  • resolution set to fixed.

Added new stream classes and made core Phing class & all loggers use streams for standard & error output in changeset:147


Add/Change #65 (Convert all loggers/listeners to use streams)




Action