Oracle error log file Oracle error log file oracle oracle

Oracle error log file


Usually only DBA's have essential rights to view Oracle logs.But,If you have enough rights:

select value from v$parameter twhere t.NAME='background_dump_dest'

This query will return the file path of the Oracle alert log and trace\dump files at Oracle Server machine. Alert log (Alert_"databasename".log) chronologically records messages and errors and containes pointers to trace\dump file assosiated whith them.

Also you can view alert_.log using Oracle Enterprise Managment Console following the "Alert Log Contents" link in the target database.


This doesn't answer the question on how to see more info in the log, but you may want to look at this for some possible reasons for the error. Usually happens because you have not been granted permission to the Oracle object you are trying to access.


Try execute this statement in your Oracle SQL session before calling the failing stored procedure:

dbms_java.set_output(32000);

It will cause the Oracle JVM to append a Java stacktrace to the DBMS output, which you can then examine in more detail.