[dev] New 'win' Log handler

Jan Schneider jan at horde.org
Thu Jun 26 02:03:27 PDT 2003


Zitat von Jon Parise <jon at horde.org>:

> On Thu, Jun 19, 2003 at 01:11:55PM +0200, Jan Schneider wrote:
>
> > Really nice! But I have some problems with the javascript code being
> > outputted before any output from the real (php) script:
> >
> > Warning: Cannot modify header information - headers already sent by
> (output
> > started at /usr/share/php/Log/win.php:86) in
> > /home/jan/headhorde/mnemo/templates/common-header.inc on line 3
>
> I believe I've fixed this problem by building my own simple buffering
> system.  Have a look at what I just committed to CVS.

Yeah, works fine now.

> > A suggestion: If you put each line into a small two-column-table, you
> can
> > line wrap the log message while not loosing the alignment of the log
> > prefixes.
>
> Done (with three columns: timestamp, ident, message).

One nit: Now that you have table headers, there's no need for the --End--
tag anymore.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list