added log debug message

revised and added log.debug message for setting log level debug and easy for users to see more detailed debug messages.