configure logger to remove stacktaces