adamkewley / jobson

A platform for transforming command-line applications into a job service.
Apache License 2.0
256 stars 20 forks source link

Remove all exceptions from the logs #16

Closed adamkewley closed 6 years ago

adamkewley commented 6 years ago

The server is dumping many non-fatal exceptions into the logs. Some of these are because of misbehaving libraries, but some of them are just laziness. Ideally, the logs should just contain standard errors, warnings, INFO, etc.

adamkewley commented 6 years ago

The exceptions that occur when the server is booting is because the swagger library being used uses a different version of reflections from dropwizard. The solution to it can be found on the smoketurner issues list (after some digging):

https://github.com/smoketurner/dropwizard-swagger/issues/85

adamkewley commented 6 years ago

The solution provided in https://github.com/smoketurner/dropwizard-swagger/issues/85 fixed the bootup exceptions (due to the reflections version mismatch) and will be deployed in 0.0.14.