httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Gupta" <gupt...@aol.com>
Subject Re: How to Log Startup errors? Logfile gets created after startup only.
Date Thu, 28 Jul 2005 06:57:59 GMT
Thanks Rob,

It was useful.

Rob Crittenden wrote on 7/27/2005, 7:52 PM:

 > I think he wants the -e flag to httpd. This will log startup errors to
 > stdout. See LogLevel for the various available levels.
 >
 > So you can start the server with something like:
 >
 > % apachectl -e debug -k start
 >
 > rob
 >
 > Nick Kew wrote:
 > > Vishal Gupta wrote:
 > >
 > >>Hi,
 > >>
 > >>I have written a module, and want to write some warning errors in the
 > >>logfile for the related configuration.
 > >>
 > >>But since Apache does not create log file till the configuration is
 > >>loaded and server is started. I am not able to see my log messages.
 > >
 > >
 > > Erm, yes it does!  See for example mod_transform, that logs a message
 > > when it loads and caches a stylesheet at system startup.
 > >
 > >
 > >>Please suggest a way out. I must write log message at configuration
 > >>loading/startup only.
 > >
 > >
 > > Where's the problem?
 > >
 >



Mime
View raw message