Extract log consts.