add some logging to epmc module