Log files
Error Log view
There is Error Log view (main menu Window->Show View->Error Log) which contains all errors occurred during DBeaver runtime. You can double click on warning/error in the log viewer and see error stacktrace. Please attache it to the bug report. Also you can open full log (all error messages) if you need:
Log files
DBeaver writes different log files. Most of them are Eclipse logs. Usually log files reside in the workspace]/workspace6/.metadata .
- On Windows open Explorer and paste path
%APPDATA%\DBeaverData\workspace6\.metadata
. - On Linux just type
cd $XDG_DATA_HOME/DBeaverData/workspace6/.metadata
- On MacOS open path
~/Library/DBeaverData/workspace6/.metadata
in Finder. - To view hidden folders press Cmd+Shift+. in the folder view.
Two standard log files:
- workspace]/workspace6/.metadata/.log - all warnings and errors which happens during normal work
- workspace]/workspace6/.metadata/dbeaver-debug.log - the same as
.log
plus debug information
In special cases log files can be written in other directories. Special case is an emergency situation when DBeaver can't start and there is no workspace. Two typical places to find emergency logs:
<install-path>/configuration
${HOME}/.eclipse/org.jkiss.dbeaver.product_<dbeaver-version>
If you are reporting about some error please attach logs (not complete file but valuable part of it). Logs are very useful, big number of errors can't be reproduced/fixed without full error stacktrace.
Java fatal logs
In rare cases DBeaver process dies and doesn't leave any valuable logs. This caused by Java VM crash.
JVM creates a fatal log file for each crash (log gile hs_err_PID.log
). This log usually resides in the same directory where dbeaver launcher is (e.g. dbeaver.exe).
But in some cases it is a write-protected directory and log file will be created in other folder.
Instruction how to find Java fatal log file: https://docs.oracle.com/javase/9/troubleshoot/fatal-error-log.htm