Logging messages don't display full array

This is NOT the correct answer - it is a very hacky answer that might work for your purposes.

Instead of this:

@info("Loss", total, losses)

Do this:

@info("Loss", total, repr(losses))