Improve logging for preset #92

Merged
fyrchik merged 1 commit from abereziny/xk6-frostfs:feature-add-more-debug-info-to-presets into master 2023-08-16 08:25:05 +00:00
Member

Closes #91
Signed-off-by: Andrey Berezin a.berezin@yadro.com

Closes #91 Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny added 1 commit 2023-08-08 15:58:32 +00:00
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
requested reviews from storage-services-developers, storage-services-committers, storage-core-developers, storage-core-committers 2023-08-08 15:58:39 +00:00
fyrchik reviewed 2023-08-08 16:00:24 +00:00
@ -41,3 +43,3 @@
if not success:
print(f" > Object {object_name} has not been uploaded.")
log(f"{cmd_line}\n"
Owner

Python has some native logging capabilities https://docs.python.org/3/library/logging.html#logging.info , don't we want to use them?

Python has some native logging capabilities https://docs.python.org/3/library/logging.html#logging.info , don't we want to use them?
Author
Member

We want specific prefix (date, endpoint) to each message so we use custom function.

We want specific prefix (date, endpoint) to each message so we use custom function.
Owner
  1. We use endpoint=... syntax in scenarios
  2. Anyway it seems logging can be customized as you wish https://docs.python.org/3/library/logging.html#logging.Formatter

I will create a separate task for this then.

1. We use `endpoint=...` syntax in scenarios 2. Anyway it seems logging can be customized as you wish https://docs.python.org/3/library/logging.html#logging.Formatter I will create a separate task for this then.
anikeev-yadro approved these changes 2023-08-09 06:30:55 +00:00
dstepanov-yadro approved these changes 2023-08-11 07:01:19 +00:00
fyrchik merged commit bf884936a7 into master 2023-08-16 08:25:05 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#92
No description provided.