Add integration tests for creating `log.dirs`