[users@httpd] piped log on Windows 2003 doesn't work

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

 



Hi,

I'm trying to use the piped log on Windows 2003 (apache httpd 2.2), but it doesn't work. I tried it out on linux and it works great. My log.exe program is called 5 times when server starts, and were not killed after server stops. And my log.exe program doesn't seem to capture the logs. My log.exe is as simple as this:

while (cin) {
		cin.getline(buf, MAX_BUF_SIZE);
		if (!cin) {
			break;
		} else {
			fprintf(file, "%s\n", buf);
			fflush(file);
		}
	  }

Can anyone help?  Thanks.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux