Change logging level when database connection fails
Changes the logging level from @error
to @debug
when there is no database connection. Also add some tests to check the logging levels.
Edited by Ifan Johnston
Changes the logging level from @error
to @debug
when there is no database connection. Also add some tests to check the logging levels.