You are here: syslog() /openlog() and wtf is LOG_LOCAL_0 « PHP « IT news, forums, messages
syslog() /openlog() and wtf is LOG_LOCAL_0

Posted by Jochem Maas on 09/28/73 11:20

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 ;-)

 

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

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