Re-enable console logging by default (#4210)

* Re-enable console logging by default

* Disable LogSettings.EnableConsole while packaging release

* Updated defaults in config.json to match the ones generated by the server

* Fixed make package and changed it to reduce the log level instead of disabling console logging entirely
Этот коммит содержится в:
Harrison Healey
2016-10-17 09:52:47 -04:00
коммит произвёл enahum
родитель 219f4e36e5
Коммит 3660f78733
2 изменённых файлов: 16 добавлений и 12 удалений

Просмотреть файл

@@ -298,6 +298,9 @@ package: build build-client
cp -RL templates $(DIST_PATH)
cp -RL i18n $(DIST_PATH)
@# Disable developer settings
sed -i'' 's|"ConsoleLevel": "DEBUG",|"ConsoleLevel": "INFO",|g' $(DIST_PATH)/config/config.json;
@# Package webapp
mkdir -p $(DIST_PATH)/webapp/dist
cp -RL $(BUILD_WEBAPP_DIR)/dist $(DIST_PATH)/webapp

Просмотреть файл

@@ -63,7 +63,7 @@
"AtRestEncryptKey": ""
},
"LogSettings": {
"EnableConsole": false,
"EnableConsole": true,
"ConsoleLevel": "DEBUG",
"EnableFile": true,
"FileLevel": "INFO",
@@ -125,8 +125,9 @@
"EmailBatchingInterval": 30
},
"RateLimitSettings": {
"EnableRateLimiter": true,
"Enable": false,
"PerSec": 10,
"MaxBurst": 100,
"MemoryStoreSize": 10000,
"VaryByRemoteAddr": true,
"VaryByHeader": ""