logfile_matches

HSTB.kluster.logging_conf.logfile_matches(logger, logfile)

Check if the provided file path matches an existing file handler destination

Parameters
  • logger (Logger) – logger instance

  • logfile (str) – file path to where you want to save the log ouput

Returns

True if the logfile matches a baseFilename in an existing file handler

Return type

bool