Changed magic constant to log.