use c.Log instead of log.Println