You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Rails 2.3.X, log entries are separated by two newlines. The problem is that the newlines happen at the start of the request cycle (see source). I've noticed that these middlewares start the logging process prior to that which leads to the E20 logs being appended to the previously recorded actions. This seems like an issue to anyone trying to parse the logs and doing simple \n\n splits. Wouldn't it just be better to do the logging after the app.call methods within the middlewares?
The text was updated successfully, but these errors were encountered:
in Rails 2.3.X, log entries are separated by two newlines. The problem is that the newlines happen at the start of the request cycle (see source). I've noticed that these middlewares start the logging process prior to that which leads to the E20 logs being appended to the previously recorded actions. This seems like an issue to anyone trying to parse the logs and doing simple \n\n splits. Wouldn't it just be better to do the logging after the app.call methods within the middlewares?
The text was updated successfully, but these errors were encountered: