If you run Reduce
without setting up a logger, you will notice that the output messages appear twice. To prevent this behaviour set up a logger. This will send one of the output stream to a file, keeping the other on the screen. We recommend using the DRAGONS logger located in the logutils
module and its config()
function:
from gempy.utils import logutils
logutils.config(file_name='gmosls_tutorial.log')