Closed trueMiskin closed 5 months ago
We use in our code
final FileHandler fileHandler = new FileHandler("%h/.DbSchema/logs/DbfJdbcDriver.log");
fileHandler.setFormatter( new SimpleFormatter());
fileHandler.setLevel(Level.ALL);
LOGGER.addHandler(fileHandler);
the %h should be replaced by the home directory. See FileHandler
Could you please check, maybe is a issue with the home directory on your computer? If you test this using DbSchema, you can print the user.home from the SQL Editor, by switching to Groovy and using
println System.getProperty("user.home")
Hi,
problem is not in the incorrect path. The folders .DbSchema\logs
do not exist in the home directory.
You are only creating folders for H2_LOCATION
.
Thank you for your reply. This is correct. We added a fix for this issue.
Hi, in the JDBC constructor, the library tries to open the log file, but the
\.DbSchema\logs
path does not exist.Is it even right to create own log if the application using this library has own log?