----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Sun,
Please try to add the following contents into "jserv.properties" file.
# log.queue.maxage# log.queue.maxsize#
# Since all the messages logged are processed by a thread running with
# minimum priority, it's of vital importance that this thread gets a chance
# to run once in a while. If it doesn't, the log queue overflow occurs,
# usually resulting in the OutOfMemoryError.#
# To prevent this from happening, two parameters are used: log.queue.maxage
# and log.queue.maxsize. The former defines the maximum time for the logged
# message to stay in the queue, the latter defines maximum number of
# messages in the queue.#
# If one of those conditions becomes true (age > maxage || size > maxsize),
# the log message stating that fact is generated and the log queue is
# flushed in the separate thread.#
# If you ever see such a message, either your system doesn't live up to its
# expectations or you have a runaway loop (probably, but not necessarily,
# generating a lot of log messages).#
# WARNING: Default values are lousy, you probably want to tweak them and
# report the results back to the development team.#
# Syntax: log.queue.maxage = <milliseconds># Default: 5000
# Syntax: log.queue.maxsize = <integer># Default: 1000
log.queue.maxage = 5000
log.queue.maxsize = 1000
JackWang
>
>hi, there:
>apache has access_log file, is this file automatically refreshed by apache
>server? what is rule? refreshed according to file size or weekly?
>Before this month, my server can weekly save access_log to access_log.1,
>access_log.1 to access_log.2, access_log.2 to access_log.3, and reset
>access_log to 0 byte, but now it seems not work, who can tell me how to
>enable it?
>
>Thanks a lot.
>
>sincerely
>sun
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]