Senaka Fernando (JIRA) wrote:
[ https://issues.apache.org/jira/browse/AXIS2C-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537558 ]
Senaka Fernando commented on AXIS2C-732:
----------------------------------------
Yes, this is a good improvement.
But, I have few suggestions to make it better.
1. We will not start from scratch, instead, the new file will have an entry
saying that the log file was backed up to the respective location, before
starting with the logging procedure. This well help the potential user of the
log file identify what is going on.
2. Need to find mechanisms to handle situations such as, if log entries are
needed to be made during the process of backing up the log file. (Because,
renaming and creating a new file takes some time)
This is handled in a thread mutex.
3. The user must be able to define the maximum size of the log file during
installation. And, this value must lie between a pre-defined range, or else the
default must be assumed.
Yes it is good to have the maximum size set during deployment. There are
two options
1. Put an param entry in axis2.xml.
2. Give as server argument when starting.
Damitha
Regards,
Senaka
Log file size increasing with no upper limit
--------------------------------------------
Key: AXIS2C-732
URL: https://issues.apache.org/jira/browse/AXIS2C-732
Project: Axis2-C
Issue Type: Improvement
Reporter: Damitha Kumarage
Currently log file size increase with no upper limit. In a production environment this is not acceptable. To solve it I have provided a simple solution of after the file size exceeds a certain limit it automatically is backed up to a x.log.old file and
log is written to from scratch.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]