I was setting up a fresh development env and I ran into two problems.
First of all, I have the problem that after autoreload cleared any loaded settings. On IRC @tbrisker said
try adding
Foreman.settings.load
to config/application.rb:315, seems to work for me
Is anyone else tracking this? @ezr-ondrej perhaps?
Then I also see empty lines for every request:
17:05:28 rails.1 | 2021-05-07T17:05:28 [I|app|0f3ba5cb] Started GET "/notification_recipients" for 127.0.0.1 at 2021-05-07 17:05:28 +0200
17:05:28 rails.1 | 2021-05-07T17:05:28 [I|app|0f3ba5cb] Processing by NotificationRecipientsController#index as JSON
17:05:28 rails.1 | 2021-05-07T17:05:28 [D|tax|0f3ba5cb] Current location set to Default Location
17:05:28 rails.1 | 2021-05-07T17:05:28 [D|tax|0f3ba5cb] Current organization set to Default Organization
17:05:28 rails.1 | 2021-05-07T17:05:28 [D|not|0f3ba5cb] Cache Miss: notification, writing cache for notification-4
17:05:28 rails.1 | 2021-05-07T17:05:28 [D|not|0f3ba5cb] Expiring notification cache notification-4 in 3600 seconds
17:05:28 rails.1 | 2021-05-07T17:05:28 [D|app|0f3ba5cb] Body: {"notifications":[]}
17:05:28 rails.1 | 2021-05-07T17:05:28 [I|app|0f3ba5cb] Completed 200 OK in 29ms (Views: 0.1ms | ActiveRecord: 4.8ms | Allocations: 20559)
17:05:28 rails.1 | 0f3ba5cb |
17:05:28 rails.1 | 0f3ba5cb |
17:05:38 rails.1 | 2021-05-07T17:05:38 [I|app|303b334c] Started GET "/notification_recipients" for 127.0.0.1 at 2021-05-07 17:05:38 +0200
17:05:38 rails.1 | 2021-05-07T17:05:38 [I|app|303b334c] Processing by NotificationRecipientsController#index as JSON
17:05:38 rails.1 | 2021-05-07T17:05:38 [D|tax|303b334c] Current location set to Default Location
17:05:38 rails.1 | 2021-05-07T17:05:38 [D|tax|303b334c] Current organization set to Default Organization
17:05:38 rails.1 | 2021-05-07T17:05:38 [D|not|303b334c] Cache Hit: notification, reading cache for notification-4
17:05:38 rails.1 | 2021-05-07T17:05:38 [D|app|303b334c] Body: {"notifications":[]}
17:05:38 rails.1 | 2021-05-07T17:05:38 [I|app|303b334c] Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 13578)
17:05:38 rails.1 | 303b334c |
17:05:38 rails.1 | 303b334c |
Is this also a known problem? Any idea where this comes from?