Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk logging file size & rotation #3495

Merged
merged 14 commits into from
Aug 23, 2023
Merged

sdk logging file size & rotation #3495

merged 14 commits into from
Aug 23, 2023

Conversation

kobymeir
Copy link
Contributor

@kobymeir kobymeir commented Aug 22, 2023

Related Issues

fixes: https://jira-hq.paloaltonetworks.local/browse/CIAC-8034

Description

sdk logging file size & rotation

Content PR - demisto/content#29144

kobymeir added 2 commits August 22, 2023 22:19

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@kobymeir kobymeir requested a review from dansterenson August 22, 2023 19:26
@kobymeir kobymeir self-assigned this Aug 22, 2023
@kobymeir kobymeir requested a review from dorschw as a code owner August 22, 2023 19:26
@coveralls
Copy link
Collaborator

coveralls commented Aug 22, 2023

Pull Request Test Coverage Report for Build 56ecbc9c-0332-4296-8ada-9a290773fc30

  • 20 of 21 (95.24%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.01%) to 81.05%

Changes Missing Coverage Covered Lines Changed/Added Lines %
demisto_sdk/commands/common/logger.py 20 21 95.24%
Files with Coverage Reduction New Missed Lines %
demisto_sdk/commands/common/logger.py 1 93.55%
Totals Coverage Status
Change from base Build 7c6cae72-e3ae-409c-b576-7a79fa54b5be: 0.01%
Covered Lines: 31521
Relevant Lines: 38891

💛 - Coveralls

Copy link
Contributor

@dorschw dorschw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why kebab-case rather than snake_case?

CHANGELOG.md Outdated
Comment on lines 6 to 7
* Fixed an issue with wrong recommendation for log level deprecated arguments in the sdk logger.
* Fixed an issue with wrong documentation for log level arguments in the sdk logger.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see the end here

@@ -25,18 +26,42 @@
DATE_FORMAT = "%Y-%m-%dT%H:%M:%S"

DEPRECATED_PARAMETERS = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

were these underscored before deprecation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm just changing the new name, which use underscore and not hyphens

@kobymeir kobymeir requested a review from dorschw August 23, 2023 10:41
Co-authored-by: dorschw <81086590+dorschw@users.noreply.github.com>
@kobymeir kobymeir merged commit cd2db70 into master Aug 23, 2023
@kobymeir kobymeir deleted the sdk-logging-file-size branch August 23, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants