syslog() is going to

Problems with the Windows version of XAMPP, questions, comments, and anything related.

syslog() is going to

Postby bretmaverick999 » 11. January 2011 08:01

I've installed two syslog servers on my WinXP system. When I start one of them (does not matter which one) it starts. When I try to start the other one it says the port is use. Hence I believe my syslog server is working.

In one of my php files I added these lines:
if (syslog(LOG_DEBUG, "testing syslog()") == TRUE) {
echo "<br/>syslog() was successful<br/>";
} else {
echo "<br/>syslog() was unsuccessful<br/>";
}

When I display the webpage with the above lines it displays "syslog() was successful" but nothing comes out on my syslog server. If I look in MS Event Viewer I see an event from "PHP-5.3.1" and it's type matches what I set for LOG_DEBUG.

Is there a way to configure XAMPP so syslog() goes to the syslog server instead of MS Event Viewer?
Thank you,
Bret
bretmaverick999
 
Posts: 1
Joined: 09. January 2011 18:50
Location: Utah, USA
Operating System: WinXP

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests