You are here: Re: write to log « PHP Programming Language « IT news, forums, messages
Re: write to log

Posted by Rob on 10/03/60 12:00

On Jan 11, 4:48 pm, cmk...@hotmail.com wrote:
> On 1月11日, 上午4時25分, "C. (http://symcbean.blogspot.com/)"
>
>
>
>
>
> <colin.mckin...@gmail.com> wrote:
> > On Jan 10, 5:28 pm, cmk...@hotmail.com wrote:
>
> > > Hi
> > > is it possible to write something to the apache log?
> > > thanks
> > > from Peter (cmk...@hotmail.com)
>
> > if you're running as a module (not sure about CGI/fasCGI) then
> > anything written to stderr appears in error_log. You can't write to
> > the access_log.
>
> > A better solution for logging is to use the syslog facility (via PHP's
> > syslog() fn)
>
> > C.
>
> Thanks mr c.- Hide quoted text -
>
> - Show quoted text -

Also see error_log() - http://uk2.php.net/manual/en/function.error-log.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация