added a log module
open log and log some messages