Change logging to use stdlib logging