hooks: improved log.