add log in debug level