Skip to content

Commit

Permalink
remove process/thread id from log
Browse files Browse the repository at this point in the history
  • Loading branch information
shodanshok committed Apr 23, 2024
1 parent f337537 commit a02c2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psnap
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def load_config(configfile):
# return timestamp
def get_timestamp():
"""Function returning a formatted timestamp."""
return "[" + datetime.datetime.now().isoformat() + " #" + str(os.getpid()) + "] "
return "[" + datetime.datetime.now().isoformat() + "] "


# open log file
Expand Down

0 comments on commit a02c2fb

Please sign in to comment.