adding log to orders struct