httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Okamoto Toshiaki <okamo...@palette.plala.or.jp>
Subject [users@httpd] [Question]error_log
Date Wed, 10 May 2006 10:05:56 GMT
Hi Alls:
I have two question about error_log.
1.ap_log_error()
I would like to output multiple line comments to error_log by
ap_log_error().
But, 5th argument is seemed to be escaped.
ap_log_error(..,"line1\nline2") ---> "..  line1\nline2" in error_log
Is it possible to be the following output?
".. line1[NL]
line2"
2.rotatelog
I would like rotate error_log by rotatelog.
For example, 6 generations.
error_log--->error_log.1--->error_log.2,,,error_log.5--->delete
Is it possible?

Many thanks.
T.Okamoto

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message