Fix example for logging