omniaretail / nimator

Light-weight adhoc framework for creating monitoring apps with c-sharp based system-checks.
MIT License
10 stars 9 forks source link

Bootstrapping Nimator without NotifierSettings should generate logged warning #4

Closed jeroenheijmans closed 8 years ago

jeroenheijmans commented 8 years ago

Suppose you have these settings:

{
  "Notifiers": [ ],
  "Layers": [{ "Name": "Demo layer 1", "Checks": [] }]
}

Then Nimator will just start running but never output anything.

It's an easy mistake to make, having no notifiers. If this would happen, a user would probably check the log4net output to see why this happens, but find nothing.

So it seems quite useful to have log4net output a warning if this happens.