Additional recommendation for Printer Agent usage

  1. Clear the derby and logs folder regularly.
  2. Update the log4j.properties accordingly.
    Note: These are the default settings on the properties:
    log4j.appender.file.MaxFileSize=2MB
      log4j.appender.file.MaxBackupIndex=20
    where MaxFileSize is the maximum allowed file size in bytes before rolling over. Suffixes KB, MB, and GB are allowed. The MaxBackupIndex value is the maximum number of backup files to keep. It can be set to lesser values, for example:
    log4j.appender.file.MaxFileSize=1MB
      log4j.appender.file.MaxBackupIndex=10
  3. Use the DEBUG value as the log level for root logger only if there are unexpected problems that need to be captured. After capturing the needed information, revert it to INFO.