Fixed log_* warnings with -Weverything