Tweak to python getLogger regex