A.4 Enabling Debug Logging

A.4.1 Enabling Debug Logging for Filr

  1. In a text editor, open the log4j.properties file from both of the following directories:

    /opt/novell/filr/apache-tomcat/conf

  2. Uncomment each line for which you want to enable debug logging in the log4j.properties file.

    For example, to trace file synchronization and accesses through mirrored folders, uncomment the following lines in the log4j.properties file:

    log4j.category.com.novell.teaming.module.folder.impl.PlusFolderModule=DEBUG
    log4j.category.org.kablink.teaming.module.file.impl.FileModuleImpl=DEBUG
    log4j.category.org.kablink.teaming.fi=DEBUG
    log4j.category.com.novell.teaming.fi=DEBUG
    log4j.category.com.novell.teaming.repository.fi=DEBUG
    

    To trace interactions with resource drivers, uncomment the following lines in the log4j.properties file:

    log4j.category.org.kablink.teaming.util.TraceableInputStreamWrapper=DEBUG
    log4j.category.com.novell.teaming.fi.TraceableAclResourceDriverWrapper=DEBUG
    log4j.category.com.novell.teaming.fi.TraceableAclResourceSessionWrapper=DEBUG
    
  3. Monitor the /var/opt/novell/tomcat-filr/logs/appserver.log file.

A.4.2 Enabling Debug Logging for FAMT

Setting Debug Logging for FAMT

  1. From the command line of the Filr appliance, change to the following directory:

    /opt/novell/filr/bin

  2. Set the FAMT log level as follows:

    ./famtconfig -s loglevel 4

    or

    To view the current log level:

    ./famtconfig -g loglevel

Viewing FAMT Log Files

  1. Change to the following location on the Filr server:

    /var/opt/novell/filr/log

    The famtd.log, debug, and core files are available for debugging functionality issues related to FAMT.

Clearing FAMT Log Files

  1. Run the following command to clear the log files:

    /etc/logratoate.d/novell-famt-logs

    FAMT logs are rotated after the log size exceeds 5MB.