Use better logging instead of println.