The log files of a database instance are stored in the run directory. The directory is specified with the general database parameter RUNDIRECTORY and created by the database system when installing a new database instance.
The default value for the run directory is <independent_data_path>/wrk/<database_name>
The log files of the database instance in the run directory are overwritten when you restart after a database crash. Older log files are therefore moved to the directory <diag_history_path>. The default value for this directory is <independent_data_path>/wrk/<database_name>/DIAGHISTORY.
See also:
Directory Structure of the Database System