Added logging to the BEP app