add logging on bootstrap mode