Skip to content

Change log type from warning to info

Closes #58 (closed)

In this MR

  • In the KNMI monitoring, warning logs trigger notifications
  • When a user would try to save a warning with an already existing name, this was logged as a "warning" and would set of the monitoring alarms
  • Since this type of issue does not really warrant a warning log and there is nothing in the application itself going wrong, this MR changes the logging type from "warning" to "info"
  • The user will still see a warning in the UI

How to test

  • Start the application locally with docker and connect to your FE
  • Make sure you still cannot save a view-/workspace-preset with an already existing name
  • In the docker logs, make sure you see the log show up with log level "INFO": image
Edited by Mizzi van der Ven

Merge request reports