The following are the locations of log files:
Identity Server:
You must select Echo to Console (Devices > Identity Servers > Edit > Auditing and Logging) to enable logging to these files.
/var/opt/novell/nam/logs/idp/tomcat/catalina.out
Access Gateway ESP:
/var/opt/novell/nam/logs/mag/tomcat/catalina.out
Access Gateway:
/var/log/novell-apache2/error_log