Update databasecheck.sh

Another logging attempt.