Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public void finish(LintingContext context) {
List<PageObjectLinting> all = context.getAllPageObjects();
for (int i = 0; i < all.size(); i++) {
PageObjectLinting first = all.get(i);
UtamLogger.info(String.format("finish linting for %s", first.getJsonFilePath()));
for (int j = i + 1; j < all.size(); j++) {
PageObjectLinting second = all.get(j);
for (LintingRuleImpl rule : globalRules) {
Expand Down
7 changes: 5 additions & 2 deletions utam-core/src/main/java/utam/core/framework/UtamLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public class UtamLogger {
* formatting log messages.
*/
static {
System.setProperty(
"java.util.logging.SimpleFormatter.format", "%1$tT %3$s %4$-7s: %5$s %6$s%n");
String format = System.getProperty("java.util.logging.SimpleFormatter.format");
if (format == null) {
System.setProperty(
"java.util.logging.SimpleFormatter.format", "%1$tT %3$s %4$-7s: %5$s %6$s%n");
}
UTAM_LOGGER = LoggerFactory.getLogger("utam");
}

Expand Down