lograge
lograge copied to clipboard
Graylog file area show to from return log file
I had set lograge.rb file in redmine and i used lograge github page.
Rails.application.configure do
config.lograge.enabled = true
config.lograge.formatter = Lograge::Formatters::KeyValue.new
end
also i have configured GELF UDP or graylog. I have completed connection and log send in graylog. But i was search file section in all messages, it was realize wrong of file section.
Other logs have same file section. i made error on redmine for test. Graylog was show this logs.
I couldn't solve on source code because it seems that a lot of different dependencies. I want to file section was return to error on file. Some log return file section this like:
/opt/redmine/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/rack/logger.rb