[cdc_stream] Fix issues found in tests (#40)

* [cdc_stream] Fix issues found in tests

Fixes a couple of issues found by integration testing:
- Unicode command line args in cdc_stream show up as question marks.
- Log is still named assets_stream_manager instead of cdc_stream.
- An error message contains stadia_assets_stream_manager_v3.exe.
- mount_dir was not the last arg as required by FUSE
- Promoted cache cleanup logs to INFO level since they're important
  for the proper workings of the system.
- Asset streaming cache dir is still %APPDATA%\GGP\asset_streaming.

* Address comments
This commit is contained in:
Lutz Justen
2022-12-07 11:25:43 +01:00
committed by GitHub
parent c9e18b9e91
commit c21503d21b
7 changed files with 41 additions and 17 deletions

View File

@@ -330,10 +330,10 @@ void DataProvider::CleanupThreadMain() {
WriterMutexLockList locks;
LockAllMutexes(&locks);
chunks_updated_ = false;
LOG_DEBUG("Starting cache cleanup");
LOG_INFO("Starting cache cleanup");
Stopwatch sw;
absl::Status status = writer_->Cleanup();
LOG_DEBUG("Finished cache cleanup in %0.3f seconds", sw.ElapsedSeconds());
LOG_INFO("Finished cache cleanup in %0.3f seconds", sw.ElapsedSeconds());
next_cleanup_time =
steady_clock_->Now() + std::chrono::seconds(cleanup_timeout_sec_);
absl::MutexLock cleaned_lock(&cleaned_mutex_);