Normally the debug messages of db4o are printed to the default console. However you can configure db4o to send the information to any output stream:
EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
// you can use any output stream for the message-output
configuration.common().outStream(System.err);