-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logstasher is not Logging Errors #79
Comments
Seems problem occurs for any log_level.. config.logstasher = ActiveSupport::OrderedOptions.new But in new rails it also inherit an And after that.. we moving to self.logger = app.config.logstasher.logger || new_logger(self.logger_path) And now at any call of This can be monkeypatched as follow: # add this info your development.rb or other environment file
config.to_prepare do
LogStasher.logger = Logger.new("#{Rails.root}/log/logstash_#{Rails.env}.log")
end |
+1 for this issue -- even with the monkey patch, I can't get my development |
Same here... Even with the ninja Monkey Patch, no logger calls is logged |
You might want to check #108 . |
Other then this I'd say get it merged soon as this is really a pain. |
…ce the old logs if suppress_app_logs. Closes shadabahmed#79
…ce the old logs if suppress_app_logs. Closes shadabahmed#79
…ce the old logs if suppress_app_logs. Closes shadabahmed#79
…ce the old logs if suppress_app_logs. Closes shadabahmed#79
Hi,
I'm running a rails 4 application in development mode.
Here is my
config/environments/development.rb
=>The problem is, when an application error occurs (like 404 not found) I can see the error in
log/development.log
but not inlog/logstasher.log
How can I solve this issue?
The text was updated successfully, but these errors were encountered: