syslog() /openlog() and wtf is LOG_LOCAL_0
| From: | Jochem Maas | Date: | Mon, 04 Jul 2005 15:32:53 +0000 |
| Subject: | syslog() /openlog() and wtf is LOG_LOCAL_0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218087@lists.php.net to get a copy of this message | ||
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 ;-)