init log object