eclipse / january

January project
Eclipse Public License 1.0
33 stars 25 forks source link

Convert to class specific loggers #428

Closed joeshannon closed 2 years ago

joeshannon commented 3 years ago

Currently there are a few loggers defined in base classes as protected which are then used by child/implementation classes. For example we might see:

08:20:50.031 [MainThread] ERROR org.eclipse.january.dataset.LazyDatasetBase - Could not parse datetime: 2021-04-20T08:20:50+01:00[Europe/London]

Where the message here is actually from DateDatasetImpl not LazyDatasetBase.

Using a logger for the class that the logger is actually used from increases clarity and saves time tracking down the code where the message originates.

PeterC-DLS commented 2 years ago

Fixed by #429