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?


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to