delphi-hub / delphi-crawler

Delphi's crawling and processing engine to extract facts on open-source software
https://delphi.cs.uni-paderborn.de/
Apache License 2.0
5 stars 11 forks source link

Harmonize log format #8

Closed bhermann closed 6 years ago

bhermann commented 6 years ago

Currently the format for log entries differs between Actor-originated logging (including the AppLogging adapter) and all other parts where log entries are generated (e.g. elastic4s).

Example:

[INFO] [05/20/2018 10:34:31.593] [main] [de.upb.cs.swt.delphi.crawler.Startup$] Delphi Crawler (delphi-crawler 1.0.0-SNAPSHOT)
[INFO] [05/20/2018 10:34:31.594] [main] [de.upb.cs.swt.delphi.crawler.Startup$] Running on Scala 2.12.4
[INFO] [05/20/2018 10:34:31.594] [main] [de.upb.cs.swt.delphi.crawler.Startup$] Performing pre-flight checks
10:34:31.695 [main] INFO  c.s.elastic4s.http.HttpClient$ - Creating HTTP client on http://localhost:9200
10:34:32.204 [main] DEBUG c.s.e.h.ElasticsearchJavaRestClient - Executing elastic request GET:/_nodes/?

This makes it tough to uniformly read and also log levels do not match. Maybe this can be fixed by harmonizing the configurations for Akka logging and regular logging.

bhermann commented 6 years ago

Close with 5222aee17968f267abc7dc37027c3a2d94bfd9c1