Now using logger to log to console xD also new method to check if there
is database connection info...