Merge "provide databasename to the logging func registration func"