Skip to content

Commit

Permalink
Revert "TTS logs tweak" (SerbiaStrong-220#2371)
Browse files Browse the repository at this point in the history
* Revert "TTS logs tweak (SerbiaStrong-220#2282)"

This reverts commit 29b88db.

* notFullRevert
  • Loading branch information
UrPrice authored Dec 21, 2024
1 parent 1543699 commit b4b605f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Content.Server/SS220/TTS/TTSManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public void Initialize()
}

if (isRadio)
_sawmill.Info($"Generate new radio sound for '{text}' speech by '{speaker}' speaker");
_sawmill.Debug($"Generate new radio sound for '{text}' speech by '{speaker}' speaker");
else
_sawmill.Info($"Generate new audio for '{text}' speech by '{speaker}' speaker");
_sawmill.Debug($"Generate new audio for '{text}' speech by '{speaker}' speaker");

var reqTime = DateTime.UtcNow;
try
Expand Down Expand Up @@ -154,9 +154,9 @@ public void Initialize()
}

if (isRadio)
_sawmill.Info($"Generated new radio sound for '{text}' speech by '{speaker}' speaker ({soundData.Length} bytes)");
_sawmill.Debug($"Generated new radio sound for '{text}' speech by '{speaker}' speaker ({soundData.Length} bytes)");
else
_sawmill.Info($"Generated new sound for '{text}' speech by '{speaker}' speaker ({soundData.Length} bytes)");
_sawmill.Debug($"Generated new sound for '{text}' speech by '{speaker}' speaker ({soundData.Length} bytes)");
RequestTimings.WithLabels("Success").Observe((DateTime.UtcNow - reqTime).TotalSeconds);

return soundData;
Expand Down

0 comments on commit b4b605f

Please sign in to comment.