Hi Jushua: I solved this problem. My solutions is as follows: In my post_config function, after ap_log_error()is called, wait one second before error return. Many thanks. T.Okamoto Okamoto Toshiaki wrote:
Thank you Jushua. T.Okamoto Joshua Slive wrote:On 6/6/06, Okamoto Toshiaki <okamoto3@xxxxxxxxxxxxxxxxxxx> wrote:Hi All: I would like to know how to flush piped error_log with rotatelogs. I use Apache 2.0.55.What do you mean by "flush"?I mean flush the file stream for error_log. Situation:In my post config function, my error message by ap_log_error() was lost when error returned from my post config function.Without rotatelogs, it is OK. Is there a good comand or function flush error_log?Joshua. ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx