Regex fix, and set python logging level to info instead of debug