From f36ff3d93b8615480214053bcf4329658a790269 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 23 Mar 2016 11:44:55 -0400 Subject: [PATCH] Log as debug instead of warning: Blank post detected --- app/models/post.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/post.rb b/app/models/post.rb index 7584c7522b7..8a63e8d76f9 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -202,9 +202,9 @@ class Post < ActiveRecord::Base if post_type == Post.types[:regular] if new_cooked != cooked && new_cooked.blank? - Rails.logger.warn("Plugin is blanking out post: #{self.url}\nraw: #{self.raw}") + Rails.logger.debug("Plugin is blanking out post: #{self.url}\nraw: #{self.raw}") elsif new_cooked.blank? - Rails.logger.warn("Blank post detected post: #{self.url}\nraw: #{self.raw}") + Rails.logger.debug("Blank post detected post: #{self.url}\nraw: #{self.raw}") end end