Alignak-monitoring-contrib / alignak-webui

Web User Interface for Alignak monitoring framework
GNU Affero General Public License v3.0
8 stars 4 forks source link

WebUI logging strategy #163

Closed mohierf closed 7 years ago

mohierf commented 7 years ago

The WebUI uses a Python logger to make its log. furthermore, the uWSGI also makes its own log.

As a result,we may have several log files:

After some experiments, the 3 last configured files are not really interesting. Only both first files are pertinent. As such, I will make a default configuration with only the uWSGI log files activated.

Changing the application log level is done thanks to the logging.json file or an environment variable to set the application DEBUG mode.

mohierf commented 7 years ago

I re-open this issue because of #191 ... perharps that the WebUI should only rely on the Python logging and do not care about what uWSGI will decided for the log. Setting a configuration in the default logging.json file that produces one daily rotated log file should be a good strategy ...