tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Quiet Exception Stack trace in log files #65

Open joehof opened 9 years ago

joehof commented 9 years ago

It would be nice to have a 'quiet mode' for exceptions thrown out of OpenContent, especially for config files, since all of their existence is not necessary for OpenContent/HPI to run.

Group decision is to overload top level method for entering into REST calls and new method take in a quietMode parameter. Default this to false (loud). HPI should pass in true when requesting configs / user preferences.

dgrumieaux commented 9 years ago

Can't this be dealt with log4j configuration?

gsteimer commented 9 years ago

@dgrumieaux - it can, but I think in this case, we only want it to suppress logging sometimes (when HPI is requesting a config).