Copyright Schrodinger, LLC. All rights reserved.
|
log(logger,
msg,
level=20)
Log a message if the logger is defined, else print it |
|
|
|
log_initial_data(logger,
namespace,
msgwidth=None,
namespace_header=' Command line options: ' ,
job_header=' Job information ' )
Log information about the currently running job, if running under job
control, and all information in the namespace object. |
|
|
|
log_namespace(namespace,
logger,
msgwidth=None,
header=' Command line options: ' )
Log the value of all properties on a object, such as logging all the
parameters of an argparse.Namespace object. |
|
|
|
log_jobinfo(logger,
msgwidth=None,
header=' Job information ' )
Log the information about the current running job if there is one. |
|
|
|
run_jobs_with_update_logging(jobq,
logfn,
fraction=0.1,
interval=3500)
Run all the current jobs in the JobDJ and logs progress information
at semi-regular intervals so the user can track status |
|
|
(logging.Logger , str)
|
create_logger(logfilename=None,
extension=' -driver.log ' ,
related_filename=None,
verbose=False,
width=80)
Create a logger that can be used for logging information to a file |
|
|
str
|
get_param_string(identifier,
value,
msgwidth)
Return a formatted line with identifier on the left and value
right-justified. |
|
|
str, str
|
decode_base64_cmd(value)
Extract a BASE64 encoded command line from the full command line in
value and return it as plain text string |
|
|