Mac debug log

Hi

On Mac How can I collect debug mode logs? Since the AE, Port, and IP of the modality are unknown,
can I get information at the time of association by sending DICOM?

by redirecting the Orthanc output into a file.
Probably something similar to what is recommended on Linux:

Orthanc --verbose config.json > Orthanc.log 2>&1