Here it is shown how to log the start-up errors on initialization of apache service on windows

open registry and find the following node, find imagepath and add the following parameter there:

-E “C:\Apache-Logs\startup-logs.log”

example:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Apache2.2

“C:\Apache\bin\httpd.exe” -k runservice -E “C:\Apache-Logs\startup-logs.log”