Database Reference
In-Depth Information
# --------------------------------------------------------------------------------------------------
# Run-time procedure
# --------------------------------------------------------------------------------------------------
CleanUpFiles
# --------------------------------------------------------------------------------------------------
# The webtier directory name is pulled from the environment
# Typically the value discovered OMS1, but it may be different
# --------------------------------------------------------------------------------------------------
WEBTIERn=`ls ${EM_INSTANCE_HOME} | grep WebTier`
OHSn=`ls ${EM_INSTANCE_HOME}/${WEBTIERn}/diagnostics/logs/OHS | grep ohs`
# --------------------------------------------------------------------------------------------------
# Retention for this directory is set for seven days through thisAGE variable
# --------------------------------------------------------------------------------------------------
thisDIR=${EM_INSTANCE_HOME}/${WEBTIERn}/diagnostics/logs/OHS/${OHSn}
thisAGE=7
thisFILE="em_upload_http_access_log.*"
SweepThese
thisFILE="em_upload_https_access_log.*"
SweepThese
thisFILE="access_log.*"
SweepThese
thisFILE="ohs*.log"
SweepThese
thisFILE="console~OHS*.log*"
SweepThese
thisFILE="mod_wl_ohs.log"
TrimThisFile
# --------------------------------------------------------------------------------------------------
DOMAIN_SERVERS_DIR=${EM_INSTANCE_HOME}/user_projects/domains/GCDomain/servers
thisDIR=${DOMAIN_SERVERS_DIR}/EMGC_ADMINSERVER/logs
thisAGE=7
thisFILE="GCDomain.log*"
SweepThese
Search WWH ::




Custom Search