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

Add loggers in collector/modifier #468

Conversation

Asia95
Copy link

@Asia95 Asia95 commented Jan 21, 2019

I made changes in loggers as suggested in #446

Description

Motivation and Context

Closes #446

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have reviewed (and updated if needed) the documentation regarding this change

I hereby agree to the terms of the AET Contributor License Agreement.

@@ -48,7 +48,7 @@ public JavaScriptJobResult execute(String jsSnippet, Object... elements)

private JavaScriptJobResult executeJs(String jsSnippet, Object... elements) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Executing JavaScript command: {} on page: {}", jsSnippet, currentUrl);
LOGGER.trace("Executing JavaScript command: {} on page: {}", jsSnippet, currentUrl);
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks! 👍

final String html = jsExecutor.execute(DOCUMENT_OUTER_HTML_SCRIPT)
.getExecutionResultAsString();
LOGGER.debug("Executing Accessibility Collector");
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicate messages were on purpose?

Copy link
Author

Choose a reason for hiding this comment

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

fixed :)

@tkaik tkaik merged commit 4f8760e into wttech:master Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entire codesniffer JS source file is written to logs for each accessibility collect
4 participants