Issue #1176: Replace all printStackTrace() calls with proper logging
Last fix