They are unsearchable and unparsable and writing messsgesmessages and adding some data to them is not actually helping. Consequently when something goes wrong I'm not able to easily find the answer by just looking at the logs and need to debug my application.
The questions that need to be asnweredanswered are not only about why the application crashed or didn't do something correctltlycorrectly but also about business rules like: why did I get a bonus when ordering ABC?
They both usualyusually contain small object dumps in json format.
Undefined- when not run like invalid parameters; log-level: WarningSuccess- everything went well; log-level: InformationCompleted- conditions not met, no errors; log-level: InformationFailure- an error occured;occurred; log-level: ErrorMessage- finally there is the old good message which I usually use to give some hints how to fix what might went wrong but I now write it very rarely.Exception- here I put the stack-trace of execptionsexceptions.