The listener can be configured for logging and tracing.
Log information is typically stored in the listener.log file located in $ORACLE_HOME/network/log on UNIX and ORACLE_HOME\network\log on Windows platforms
Trace information is stored by default in listener.trc, located in $ORACLE_HOME/network/trace on UNIX and ORACLE_HOME\network\trace on Windows platforms
To enable logging or tracing: