added some debug messages to the multi db example