Skip to content

Commit

Permalink
Log the process ID of the currently running Slurm Resume Program
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Mwiti <[email protected]>
  • Loading branch information
EddyMM committed Oct 23, 2023
1 parent 9385fc6 commit d2dee33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ level=INFO
handlers=fileHandler

[formatter_defaultFormatter]
format=%(asctime)s - [%(name)s:%(funcName)s] - %(levelname)s - %(message)s
format=%(asctime)s - (%(process)d) [%(name)s:%(funcName)s] - %(levelname)s - %(message)s

[handler_fileHandler]
class=FileHandler
Expand Down
2 changes: 1 addition & 1 deletion src/slurm_plugin/resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def main():
logging.basicConfig(
filename=default_log_file,
level=logging.INFO,
format="%(asctime)s - [%(name)s:%(funcName)s] - %(levelname)s - %(message)s",
format="%(asctime)s - (%(process)d) [%(name)s:%(funcName)s] - %(levelname)s - %(message)s",
)
log.info("ResumeProgram startup.")
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit d2dee33

Please sign in to comment.