Skip to content

Commit a84d3c0

Browse files
authored
Include file size in log (#236)
* fix: include the file size in the logs
1 parent 04e0f4f commit a84d3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lumigo_tracer/lumigo_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def write_extension_file(data: List[Dict], span_type: str):
390390
file_path = get_span_file_name(span_type)
391391
with open(file_path, "wb") as span_file:
392392
span_file.write(to_send)
393-
get_logger().info(f"Wrote span to file to [{file_path}]")
393+
get_logger().info(f"Wrote span to file to [{file_path}][{len(to_send)}]")
394394

395395

396396
def write_spans_to_files(

0 commit comments

Comments
 (0)