출처 :  http://metalink.oracle.com




PURPOSE
------------------------------
Describe an undocumented feature about how to reduce the size of the access_log.



SCOPE & APPLICATION
------------------------------
Administrators and developers who have to reduce the size of the access_log for OC4J standalone.



Splitting the ACCESS_LOG
------------------------------
To reduce the size of the access_log file for OC4J, it is possible to split up the file into small portions. This is also known as log file rollover, The split can only be setup for:

             hour
             day
             week
             month


It is not possible to split the file based on a certain amount of size.

To setup this correctly, the elment 'access-log' in the file http-web-site.xml has to be extended with the attribute 'split'. And one of these arguments: 

              none
              hour
              day
              week
              month



e.g.
  <access-log path="../log/http-web-access.log" split="hour"/>


 

+ Recent posts