Is that really necessary for a test application? Especially as you might not want to have to dig through the libhybris logs to see what it is doing? Also it is already printing with fprintf all over the place.