Logging implemented for LoggingDatabase adapter