Skip to content

Commit

Permalink
Make TTS logs Verbose level
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Feb 16, 2024
1 parent fddf29e commit 551721c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Client/Corvax/TTS/TTSSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void OnTtsVolumeChanged(float volume)

private void OnPlayTTS(PlayTTSEvent ev)
{
_sawmill.Debug($"Play TTS audio {ev.Data.Length} bytes from {ev.SourceUid} entity");
_sawmill.Verbose($"Play TTS audio {ev.Data.Length} bytes from {ev.SourceUid} entity");

var filePath = new ResPath($"{_fileIdx++}.ogg");
_contentRoot.AddOrUpdateFile(filePath, ev.Data);
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Corvax/TTS/TTSManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ public void Initialize()
if (_cache.TryGetValue(cacheKey, out var data))
{
ReusedCount.Inc();
_sawmill.Debug($"Use cached sound for '{text}' speech by '{speaker}' speaker");
_sawmill.Verbose($"Use cached sound for '{text}' speech by '{speaker}' speaker");
return data;
}

_sawmill.Debug($"Generate new audio for '{text}' speech by '{speaker}' speaker");
_sawmill.Verbose($"Generate new audio for '{text}' speech by '{speaker}' speaker");

var body = new GenerateVoiceRequest
{
Expand Down

0 comments on commit 551721c

Please sign in to comment.