Skip to content

Some improvements for logging and loading configuration

Santiago Faci requested to merge T360734-improving-config-and-log into main

Some improvements for logging and loading configuration:

  • Logger parameterization for a more clear log showing directly the level and datetime and using the level that is configured in the config.yaml file: {"level":"INFO","time":"2024-05-10T13:34:03.761Z","pid":45617,"hostname":"wmf3277","msg":"mpic has started listening on port 80"}
  • Some changes to load configuration and logger using the same configuration.js file
  • Logging the validation form error with details
  • Adjusted the level for some logs
  • Added form validation to the patch endpoint
Edited by Santiago Faci

Merge request reports