add more debug messages to log