Added a couple of logging statements to the JEX.