William A. Rowe, Jr. wrote: > Frank Misa wrote: > > Hi All, > > > > I've seen many references to Apache issues with logging to piped > > processes on the forums; but no clear answer on whether this is > > supported or not. > > Can someone here please confirm -- Yes/No... > > Do the latest versions of Apache 2.0.x OR Apache 2.2.x support piped > > logs on Windows ? > > They did until the 2.0.4x'ish timeframe. It was 'run this binary' and > set up the log stream as the program's stdin. > > As Sander pointed out... > > Then it became 'run this shell command through cmd.exe' - which needed > stdin/out/err all set up right to not-fail running as-a-service. > > Change it back from shellcmd to program and voila, the code works. We > hacked at various handle codes for stdout/stderr, but nothing except > a legitimate file stream will make cmd.exe happy. > > So Apache just dies with a message that it fails to create the log. Was this problem ever resolved in 2.2.9? I'm trying to set up 2.2.9 as a service on an XP SP2 box with either rotatelog or cronolog for main and vhost error/access logs, but I see several cmd.exe processes when starting it up. I have a W2K box with 2.0.63 that doesn't have this shell behavior (also a service using cronolog). What I found... This says a similar problem was resolved in 2.2.6: https://issues.apache.org/bugzilla/show_bug.cgi?id=41346 Yet, there was a discussion on the dev list to add shell-skipping syntax: http://markmail.org/message/makgeeo3m3uwj2iw But the trunk server/log.c code doesn't appear to have that syntax: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?view=markup And the docs for 2.2 (can't pull up trunk docs now) don't mention it: http://httpd.apache.org/docs/2.2/logs.html I also skimmed through the SVN logs for log.c and didn't see anything about fixing this. Thanks for the help, -- Yoann Roman --------------------------------------------------------------------- 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