Hi,
 
One more query.Sorry i am new comer to apache.
We are trying to create a custom log file by using hook handler 
apr_hook_open_logs().
We are passing server_rec * and apr_pool_t * to the handler in 
apr_hook_open_logs().
Then we are allocating memory for our file name holder variable using calloc()
We are trying to open the log file using apr_file_open.
 
The problem:
 
1.The file creation is successfull.But this particular piece of code is making 
'apachectl start' to fail. It does not register any error in error log also. 
This happens in apr_hook_open_logs().
2. We are able to write to the file also using apr_file_printf().
 
Can any one help with an idea why we are getting this problem?
 
Thanks & regards,
Raamkrishna
 



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to