add log level

Hey Dushyanth Maguluru, I added filter for logging levels.