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
IGNITE-16728: [ducktests] Change logger to log4j2 #9906
Conversation
@@ -28,6 +28,12 @@ | |||
<PatternLayout pattern="[%d{ISO8601}][%-5p][%t][%c{1}]%notEmpty{[%markerSimpleName]} %m%n"/> | |||
</Console> | |||
|
|||
<File name="CONSISTENCY" fileName="${sys:IGNITE_HOME}/work/log/consistency.log"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for ignitetest.tests.control_utility.consistency_test.ConsistencyTest.test_logging.ignite_version
@@ -286,7 +286,7 @@ def event_time(evt_message, node): | |||
|
|||
match = re.match("^\\[[^\\[]+\\]", stdout) | |||
|
|||
return datetime.strptime(match.group(), "[%Y-%m-%d %H:%M:%S,%f]") if match else None | |||
return datetime.strptime(match.group(), "[%Y-%m-%dT%H:%M:%S,%f]") if match else None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use pattern [%d{ISO8601}][%-5p][%t][%c{1}] %m%n
it contains 'T'
https://en.wikipedia.org/wiki/ISO_8601
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summary
whereXXXX
- number of JIRA issue.(see the Maintainers list)
the
green visa
attached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.