Commit 2571b042 authored by Benjamin Neff's avatar Benjamin Neff Committed by Jonne Haß

only log private stuff to debug

closes #6069
parent 0b5bf2e3
......@@ -44,8 +44,9 @@ class Postzord::Receiver::Private < Postzord::Receiver
def receive_object
obj = @object.receive(@user, @author)
Notification.notify(@user, obj, @author) if obj.respond_to?(:notification_type)
logger.info "user:#{@user.id} successfully received #{@object.class} from person #{@sender.guid}: " \
"#{@object.inspect}"
logger.info "user:#{@user.id} successfully received #{@object.class} from person #{@sender.guid}" \
"#{": #{@object.guid}" if @object.respond_to?(:guid)}"
logger.debug "received: #{@object.inspect}"
obj
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment