Skip to content

Add logging in the application #24

@sambekar15

Description

@sambekar15

Is your feature request related to a problem? Please describe.
Currently the application does not have logging. The errors are printed on console. Using logging in your application can be useful for monitoring, debugging, error tracking, and business intelligence.

For eg - Hitting the API - http://localhost:8080/api/v1/lineage/table/LOREM?bw=-1&fw=-1 returns empty response
but stacktrace is not logged. This makes it default to debug.

Describe the solution you'd like
Integrate with Play API logging - https://www.playframework.com/documentation/2.8.x/ScalaLogging
Log the error from API call
Desired output structure in log would be :
%d{yy/MM/dd HH:mm:ss}; thread=%thread; level=%p; %marker; class=%c; method=%method; lineNumber=%L; msg=%message%n%xException

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions