Fixed logging to properly indicate direction