Skip to content

Commit d1756f9

Browse files
committed
le0pard#45 fix meta information
1 parent ae412f3 commit d1756f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongodb_logger/server/view_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def meta_informations(log)
1919
meta_data = Hash.new
2020
log.each do |key, val|
2121
# predefined fields
22-
next if [:_id, :messages, :request_time, :ip, :runtime, :application_name, :is_exception, :params, :method, :controller, :action, :path, :url].include?(key.to_sym)
22+
next if [:_id, :messages, :request_time, :ip, :runtime, :application_name, :is_exception, :params, :method, :controller, :action, :session, :path, :url].include?(key.to_sym)
2323
meta_data[key] = val
2424
end
2525
meta_data

0 commit comments

Comments
 (0)