Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting level-argument for logger, it was earlier set in the position…
… where the shift-argument is expected in the logger. This commit will cause the logs using the rails logger to no longer rotate no matter what the log level is. Previously the logs would not rotate only if the level was set to debug, because in this case the shift-argument was set to 0. For log level info for example the shift argument would be set to 1, causing the logs to rotate. Closes instructuregh-1856 Test plan: - Specify "logger: rails" and "log_level: info" in logging.yml - Observe that the logs will grow beyond 1 MB
- Loading branch information