reduce log module and chage log.c code style from gnu to kernel