Merge "liblog: Harden log_id check."
am: c280143d9b

Change-Id: I2a87f95287be7ee8009cc9c56c7bbc82f1673b99