chore: push update_presence logs

This commit is contained in:
Vishnu Narayanan
2024-11-14 21:55:55 +05:30
parent 4cfa7e4c97
commit 11cf49db43
+4 -4
View File
@@ -22,9 +22,9 @@ if ActiveModel::Type::Boolean.new.cast(ENV.fetch('LOGRAGE_ENABLED', false)).pres
}
end
config.lograge.ignore_custom = lambda do |event|
# ignore update_presence events in log
return true if event.payload[:channel_class] == 'RoomChannel'
end
# config.lograge.ignore_custom = lambda do |event|
# # ignore update_presence events in log
# return true if event.payload[:channel_class] == 'RoomChannel'
# end
end
end