Begin of an order logging functionality