sdlog2: minor improvements