Enhance logging

Signed-off-by: coleramos425 <colramos@amd.com>
This commit is contained in:
coleramos425
2023-05-19 13:38:19 -05:00
parent ae3f562b6c
commit d23efe461e
+4 -2
View File
@@ -138,10 +138,12 @@ def join_prof(workload_dir, join_type, log_file, verbose, out=None):
)
warnings.warn(msg)
log_file.write(msg + "\n")
if test_df_column_equality(_df) and verbose:
else:
msg = "Successfully joined {} in pmc_perf.csv".format(key)
print(msg)
log_file.write(msg + "\n")
if test_df_column_equality(_df) and verbose:
print(msg)
# now, we can:
#   A) throw away any of the "boring" duplicats