Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
Loglevel error

I am giving this in the configuration file,httpd.conf,when i am using the function ap_log_rerror,it is capturing only log messages that are having error or above loglevels,but when i am using the function ap_log_perror function it is showing log messages starting from default loglevel warn,i cannot understand why in the case of ap_log_perror it is not reading the loglevel from configuration ? why i am unable achieve the same with ap_log_perror ?

share|improve this question

1 Answer 1

ap_log_perror would not read from the configuration file,i made changes in the code log.c,in order to do so and added a function there that reads the config file loglevel,after reading loglevel from configuration file ,it is assigned to the default_loglevel declared in log.c file and thus, can work.

Cheers!!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.