You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Naturally, e3sm_tocmip (E2C) establishes its own “python logging” configuration to track its many operations. However, there are several places in E2C where “cmor.setup()” is called, and (as far as I can tell) the only access to CMOR internal logging is the specification of the logfile.
The logging set-up in E2C employs YYYYMMDD_hhmmss_msec timestamp, and the “lineno” parameter is used nowhere (that I can find, at least) and so I assume this is established in cmor logging.
Is it possible to expose the cmor logging configuration to the calling party, e.g. the “propagate” setting in cmor logging? (not even sure that would help, but would like to try “propagate=False”, or take more control of the stream and file handlers, etc.)
The text was updated successfully, but these errors were encountered:
Naturally, e3sm_tocmip (E2C) establishes its own “python logging” configuration to track its many operations. However, there are several places in E2C where “cmor.setup()” is called, and (as far as I can tell) the only access to CMOR internal logging is the specification of the logfile.
cmor.setup(inpath=table_path, netcdf_file_action=cmor.CMOR_REPLACE, logfile=logfile)
Somehow, output log messages are duplicated (even triplicated). Typical E2C output:
The logging set-up in E2C employs YYYYMMDD_hhmmss_msec timestamp, and the “lineno” parameter is used nowhere (that I can find, at least) and so I assume this is established in cmor logging.
Is it possible to expose the cmor logging configuration to the calling party, e.g. the “propagate” setting in cmor logging? (not even sure that would help, but would like to try “propagate=False”, or take more control of the stream and file handlers, etc.)
The text was updated successfully, but these errors were encountered: