log: removes duplicate const declaration