AbsaOSS / spline

Data Lineage Tracking And Visualization Solution
https://absaoss.github.io/spline/
Apache License 2.0
587 stars 154 forks source link

Add date to default log message #1298

Closed cerveada closed 2 days ago

cerveada commented 6 months ago

Currently, there is only time, and that is not convenient.

wajda commented 6 days ago

Logs example after the fix:

Admin CLI

[2024-07-04 20:03:57.464] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Drop database: spline
[2024-07-04 20:03:57.465] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Create database: spline
[2024-07-04 20:03:57.487] INFO  [scala-execution-context-global-23] z.c.a.s.a.ArangoManagerImpl    - Install Foxx service: /spline
[2024-07-04 20:03:57.488] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Create indices
[2024-07-04 20:03:57.495] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Create search analyzer: norm_en
[2024-07-04 20:03:57.496] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Create search view: dataSource_view
[2024-07-04 20:03:57.496] INFO  [scala-execution-context-global-15] z.c.a.s.a.ArangoManagerImpl    - Create search view: progress_view

REST Server

Connected to server
[2024-07-04 08:03:53,217] Artifact rest-gateway:war exploded: Artifact is being deployed, please wait...
04-Jul-2024 20:03:56.384 INFO [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2024-07-04 20:03:56.693] INFO  [RMI TCP Connection(2)-127.0.0.1] o.s.web.context.ContextLoader  - Root WebApplicationContext: initialization started
[2024-07-04 20:03:57.200] INFO  [RMI TCP Connection(2)-127.0.0.1] z.c.a.s.p.ArangoRepoConfig$$EnhancerBySpringCGLIB$$e526a066 - Spline database URL: arangodb://localhost:8530/spline
[2024-07-04 20:03:57.201] INFO  [RMI TCP Connection(2)-127.0.0.1] z.c.a.s.p.ArangoRepoConfig$$EnhancerBySpringCGLIB$$e526a066 - ArangoDB Active Failover: false
[2024-07-04 20:03:57.322] WARN  [RMI TCP Connection(2)-127.0.0.1] c.a.a.ArangoDBAsync$Builder    - Usage of VelocyPack Java serialization is now deprecated for removal. Future driver versions will only support Jackson serialization (for both JSON and VPACK formats). Please configure according to: https://www.arangodb.com/docs/stable/drivers/java-reference-serialization.html
[2024-07-04 20:03:57.583] INFO  [RMI TCP Connection(2)-127.0.0.1] o.s.web.context.ContextLoader  - Root WebApplicationContext initialized in 888 ms
[2024-07-04 20:03:57.598] INFO  [RMI TCP Connection(2)-127.0.0.1] o.s.w.s.DispatcherServlet      - Initializing Servlet 'aboutDispatcher'
[2024-07-04 20:03:58.000] INFO  [RMI TCP Connection(2)-127.0.0.1] o.s.w.s.DispatcherServlet      - Completed initialization in 402 ms
[2024-07-04 20:03:58.000] INFO  [RMI TCP Connection(2)-127.0.0.1] o.s.w.s.DispatcherServlet      - Initializing Servlet 'producerDispatcher'