Skip to content

Commit

Permalink
Remove showing post's text in the log
Browse files Browse the repository at this point in the history
  • Loading branch information
ktos committed Jan 3, 2020
1 parent 56e6abd commit 534f6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public async Task AnalyzePostAsync(Post post)

if (problems.Count > 0)
{
logger.LogInformation("Found problems in post {0}\n{1}\n{2}", post.id, post.url, post.text.Length < 50 ? post.text : post.text.Substring(0, 50));
logger.LogInformation("Found problems in post {0}\n{1}", post.id, post.url);
foreach (var item in problems)
{
logger.LogDebug(item.ToString());
Expand Down

0 comments on commit 534f6c9

Please sign in to comment.