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

Configure logging #16

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Configure logging #16

merged 6 commits into from
Nov 20, 2024

Conversation

domi-b
Copy link
Collaborator

@domi-b domi-b commented Nov 20, 2024

Resolves #15

}
}
}

private static void processFiles(LK2DxfOptions options) {
private static boolean processFiles(LK2DxfOptions options) {
Copy link
Contributor

Choose a reason for hiding this comment

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

PP: javadoc that explains boolean return

}

EhiLogger.getInstance().addListener(new EhiLogAdapter());
EhiLogger.getInstance().removeListener(StdListener.getInstance());
Copy link
Contributor

Choose a reason for hiding this comment

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

Q: Hat der EhiLogger eine methode um alle listener zu entfernen bevor du unseren hinzufügst?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nein, es gibt nur diese beiden add und remove Methoden.

@@ -332,7 +336,7 @@ private static TransferDescription getTransferDescription(List<LayerMapping> lay
}

try {
System.out.println("iliModelsPath: " + iliModelsPath);
LOGGER.info("iliModelsPath: {}", iliModelsPath);
Copy link
Contributor

Choose a reason for hiding this comment

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

PP: eventuell auf loglevel debug, da es einfach der pfad ins temp verzeichnis ist, wo die models aus dem jar hinkopiert werden.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Debug wird aktuell nur mit der --trace Option angezeigt. Das sollte eigentlich reichen, der Pfad wird beim Model-Lookup ja auch wieder angezeigt.

@domi-b domi-b merged commit 5d901d2 into main Nov 20, 2024
1 check passed
@domi-b domi-b deleted the logging branch November 20, 2024 10:37
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.

Logging einrichten
2 participants