[phpa] Re: questions

> 
> I have a couple of questions:
> 
> 1) What messages does phpa.shm_logging control? If I turn off
>shm_logging, will the [warn] messages still be logged, or anything else?

Yes. The notice messages that read '[notice] shm -' get disabled. 

> 2) Would it be possible to put a prefix on the phpa log entries so they
> can be programmatically distinguished?

There already is. The 'shm -' is the prefix, but I use that to identify shm
messages, rather than phpa messages as a whole. I'd considered putting the
prefix, and I think did at one point during development, into the [], but
decided not to in the end. But that might be a better place than outside.

Essentially the format would be [<severity>-<feature>], where phpa would be
the feature for phpa as you suggest.

It's a good idea so I'll try to remember to make that change for the next
release.

nick


------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: