Redirecting jupyter logging

Is there any way to make logger from logging library write only in the console but not in jupyter out? There was a workaround previously with assigning stdout to logging handler but no it’s not working.