Why was the logging API switched in this commit?