loganre: Fix some compile errors

Change-Id: I2c06680d8f372b15a8eebdd16df1876d06045b93