syslog() /openlog() and wtf is LOG_LOCAL_0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi everyone,

is there anyone out there that can explain the following constants:

LOG_LOCAL0
LOG_LOCAL1
...
LOG_LOCAL*

in relation to openlog() and syslog()

basically I want to do two things:

1. log to the apache error log from a script called via the webserver
2. log to the apache error log from a script called via the cmdline (usually
cron)

I have 1. working on a dev server - but the live server doesn't seem to
want to log jackshit. 2. I can't get working for the life of me....

anybody been down this rabbit hole? care to show an example to this
desperate fool? or something?

rgds,
Jochem

(I have googled/ read the manpage,etc, etc - but I'm at a total loss)

(please someone help, before I gouge my eyes out ... I can almost hear you lot
not speaking up on purpose ;-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux