log: Switch to debug format if loglevels has any debug levels