in reply to STDERR not being put in error log
The error is probably in the "some code in the app which was working before". It's difficult to be more specific without seeing code.