Added hostname, database name and username to log and terminal output