Shorten logger name #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Request
Summary
Currently, when creating new loggers, the entire classpath is used as the name for the logger, resulting in extremely long names that clutter the console output or log file.
Required workarround
None.
Description
The typical console output resembles this:
However, most of the classpath (
ch.unibas.dmi.dbis.cs108.) is irrelevant. Even the project name and distinction between server and client can be omitted.Applying this to the output above would result in a more readable version:
Checklist
Moved to MS5 as it offers no real benefit for this milestone.
Class.getSimpleName can be used to only get the Name of the class, instead of the classpath.
Alternatively a utility class can be used to sanatize the classpath (i.e. removing
ch.unibas.dmi.dbis.cs108.)mentioned in task #109
Task will be moved to Milestone 6
assigned to @lars.winzer
created branch
feat/60-shorten-logger-nameto address this issueadded 10m of time spent at 2026-05-12 12:00:00 +0200
mentioned in merge request !166
mentioned in commit
baa1d51a1f