Add some logging facilities combined with business logic