Additional recommendation for Printer Agent usage

  1. Clear the derby and logs folder regularly.
  2. Update the log4j.properties accordingly.
    Note:  Default settings on the properties file are:

    log4j.appender.file.MaxFileSize=2MB

    log4j.appender.file.MaxBackupIndex=20

    where MaxFileSize = Maximum allowed file size (in bytes) before rolling over. Suffixes "KB", "MB" and "GB" are allowed.

    MaxBackupIndex=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 DEBUG value as 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.