Default log level for smart-proxy should be INFO
I believe this is a regression and it was set to INFO previously. Currently I see this set to ERROR which is not good. There is nothing that can tell you that requests are actually coming to proxy. Since we rotate our logs and traffic is not huge, I see no reason not to set it to INFO. Our logging is clean:
I, [2016-05-11T03:28:04.686868 #1069] INFO -- : 127.0.0.1 - - [11/May/2016 03:28:04] "GET /features HTTP/1.1" 200 83 0.0044 I, [2016-05-11T03:28:04.770358 #1069] INFO -- : 127.0.0.1 - - [11/May/2016 03:28:04] "GET /ssh/pubkey HTTP/1.1" 200 438 0.0007 I, [2016-05-11T03:28:04.830933 #1069] INFO -- : 127.0.0.1 - - [11/May/2016 03:28:04] "GET /features HTTP/1.1" 200 83 0.0008
#1 Updated by Dominic Cleal over 5 years ago
- Project changed from Installer to Smart Proxy
- Category changed from Foreman modules to Core
The installer follows the smart proxy default, which is (and has been for as long as I'm aware) set to ERROR - per settings.yml.example and lib/proxy/settings/global.rb.