I saw output messages from python layer in Linux terminal normally, and also on jupyter notebook (on browser).
Just use "print" in python layer - it should do the work.
Exception also print messages to those standard outputs.
To check, you can put a
raise Exception("Should stop here!")
at the normal path of code execution in the reshape function for example:
def reshape(self, bottom, top):
raise Exception("Should stop here!")
# other code here
you should see the message on terminal!