server.log
$ORACLE_HOME/j2ee/"<"instance_name">"/config/server.xml
"<"file path="../log/server.log" /">"
TO:
"<"odl path="../log/server/" max-file-size="1000" max-directory-size="10000"/">"
default-web-access.log
$ORACLE_HOME/j2ee/"<"instance_name">"/config/default-web-site.xml
"<"access-log path="../log/default-web-access.log" /">"
TO:
"<"access-log path="../log/default-web-access.log" split="hour" /">"
split interval: "hour", "day", "week", and "month"
global-application.log
$ORACLE_HOME/j2ee/"<"instance_name">"/config/application.xml
"<"file path="../log/global-application.log"/">" --">"
TO:
"<"odl path="../log/global-application/" max-file-size="1000" max-directory-size="10000"/">"
max-file-size: The maximum size, in kilobytes, that an individual log file is allowed to grow to. When this limit is reached, a new log file is generated.
max-directory-size: Sets the maximum size, in kilobytes, allowed for the log file directory. When this limit is exceeded, log files are purged, beginning with the oldest files.
$ORACLE_HOME/j2ee/"<"instance_name">"/config/server.xml
"<"file path="../log/server.log" /">"
TO:
"<"odl path="../log/server/" max-file-size="1000" max-directory-size="10000"/">"
default-web-access.log
$ORACLE_HOME/j2ee/"<"instance_name">"/config/default-web-site.xml
"<"access-log path="../log/default-web-access.log" /">"
TO:
"<"access-log path="../log/default-web-access.log" split="hour" /">"
split interval: "hour", "day", "week", and "month"
global-application.log
$ORACLE_HOME/j2ee/"<"instance_name">"/config/application.xml
"<"file path="../log/global-application.log"/">" --">"
TO:
"<"odl path="../log/global-application/" max-file-size="1000" max-directory-size="10000"/">"
max-file-size: The maximum size, in kilobytes, that an individual log file is allowed to grow to. When this limit is reached, a new log file is generated.
max-directory-size: Sets the maximum size, in kilobytes, allowed for the log file directory. When this limit is exceeded, log files are purged, beginning with the oldest files.
Comentários
Postar um comentário