If log files are taking up a substantial amount of disk space and there is no need to capture detailed log information for troubleshooting issues, then the logging for the service should be set back to info. Also, the Maximum Log File Size and the Log File Backup Index should be set back to the default setting of 10.
To verify the Logging setting in DocuShare do the following:
Log in as admin.
Click Admin Home | Services and Components | Logging. The Logging page displays.
Select 10 MB from the drop down menu next to Maximum Log File Size.
Select 10 from the drop down menu next to Log File Backup Index.
Verify that all the services have INFO selected from the drop down menu.
Click the Apply button.
The old logs files can be deleted or moved to gain some disk space.
Note: The log file information is found in the \config\log4j.config file. However, if possible changes should be made using the Admin UI steps above.
Example:
#DocuShare internal generated - DO NOT EDIT
#Thu Apr 28 09:05:55 PDT 2016
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.R.File=E\:\\Xerox\\Docushare\\logs\\log4j.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.encoding=UTF-8
log4j.appender.R.layout.ConversionPattern=%d{dd MMM yyyy HH\:mm\:ss} [%t] %-5p %x - %m%n
log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM yyyy HH\:mm\:ss} %-5p %x - %m%n
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.rootCategory=info, R
Note: There may still be an opportunity to increase Disk Space or by moving the Documents to another Drive, depending on the Server configuration or environment. For detailed information on How To Change the Document Repository Directory Path click the solution link at the bottom of this page.
The IDOL directory can also be moved if it is taking up a large amount of disk space. For detailed information on How To Change The Directory IDOL Uses For Indexing and Working Files click the solution link at the bottom of the page.
Solution Published: May 30, 2016
Solution ID: 1773