Portal gateway debug logs are located in the following directories:
Solaris OS: /var/opt/SUNWportal/debug
Linux: /var/opt/sun/portal/debug and /var/opt/sun/identity/debug/desktop/debug
For Solaris OS, logs for Portal Server services (such as NetFile) are in /var/opt/SUNWam/debug when logging is turned on from the Access Manager Administration Console.