opentdf / platform

OpenTDF Platform monorepo enabling the development and integration of _forever control_ of data into new and existing applications. The concept of forever control stems from an increasingly common concept known as zero trust.
BSD 3-Clause Clear License
18 stars 7 forks source link

formalize logging structure #716

Closed strantalis closed 2 months ago

strantalis commented 5 months ago

We need to capture in this issue how we want to structure our logs and what we want to enforce.

strantalis commented 5 months ago

@pflynn-virtru Brought up the idea of mapping error codes to user messages. For example maybe in the kas package we would have K1, K2, K3 type error codes that map to a user friendly message.