Log files - how/where to release space

Document ID:  TEC1469814
Last Modified Date:  08/04/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Output Management Web Viewer

Releases

  • CA Output Management Web Viewer:Release:12.1

Components

  • OUTPUT MGMT WEB VIEWER - LINUX PC:WBVX86
  • OUTPUT MGMT WEB VIEWER - WINDOWS:WBVWIN
  • OUTPUT MGMT WEB VIEWER - UNIX SYSTEM SERVICES:WBVUSS
  • OUTPUT MGMT WEB VIEWER - SUN SOLARIS:WBVSOL
  • OUTPUT MGMT WEB VIEWER - AIX:WBVRS6
  • OUTPUT MGMT WEB VIEWER - MAC:WBVMAC
  • OUTPUT MGMT WEB VIEWER - LINUX ZSERIES:WBVLXZ
  • CA OUTPUT MANAGEMENT WEB VIEWER FOR ALL PLATFORMS:WBVLUW
  • OUTPUT MGMT WEB VIEWER - HP/UX IA64:WBVHPI
  • OUTPUT MGMT WEB VIEWER - HP/UX:WBVHP9
Introduction:

When a /usr/ directory on the server fills, Web Viewer can stop functioning.

Deleting logs frees space and allows the application to function normally again.  There are two locations for log files:

/apache-tomcat-7.0.54/logs

/apache-tomcat-7.0.54/webapps/CAOMWebViewer12/logs

Question:

Are these the only two locations where log files are created and stored as part of the Web Viewer software? Where else may I free up space?

Environment:
All
Answer:

     You should also have a /usr/local/CA_OM_Web_Viewer/uninstaller/Logs folder. Installer and updater procedures will write to this folder and of course, not as frequently and voluminously as what you may find in the Tomcat and application Logs folders. You may also need the information written in the uninstaller/Logs folder, so exercise caution in deleting files. 
     Depending on what options you selected when you installed and updated, you may be accumulating application backups in whatever folder was specified at those times. These files can be quite large, so you may want to check what you've got there. 

     There may not be log files under... 

/usr/local/CA_OM_Web_Viewer/apache-tomcat-7.0.54/webapps/CAOMWebViewer12/logs 

This is where the Web Viewer files go if using internal configuration. Otherwise, they would be under ${CAOMWV12_HOME}/logs 

 

Additional Information:

Other locations to consider for clean-up: 

<install-target>/backups folder. Every time Web Viewer is updated, one or two folders are created. These are useful if you need to roll-back to an older build BUT if space is at a premium, these can be deleted. You may want to keep the oldest "Backup-date" folder (likely GA) and maybe one or two of the more recent ones. 

Also, if you have kept any of the update installers on the same file system (files dvw_12_1_*_LUW.ZIP or the extracted CA_OM_WEBVIEWER_12_1_Updt.jar), these can be deleted once the updated is validated. 

Check file ${CAOMWV12_HOME}/derby.log This is usually small but we have seen it grow large in some cases. If you are using an external database, this file can be deleted on a regular basis BUT do this while Tomcat is down. If using an internal database (embedded Derby), this can still be deleted, but you may want to do it less often (in case of database related problems, we may want to see this file). 

${CAOMWV12_HOME}/config : Consider deleting the back-ups of the .properties files (they'll have a date as the file extension). Several copies are made of these files each time the configTool is run. Unless you are actively changing configuration, you can delete all the old back-ups.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >