log: fix log level regexp matching