do NOT record debug logs if it is not enabled in config