cartesi / rollups-node

Reference implementation of the Cartesi Rollups Node
Apache License 2.0
20 stars 60 forks source link

Standardize logging #448

Open marcelstanley opened 2 weeks ago

marcelstanley commented 2 weeks ago

📚 Context

Log standardization is a recurring issue on past node versions. In order to avoid that and to make the node logs concise and self-explainable, we should make our best effort for standardizing the node logs moving forward.

We should gather clients requirements (e.g., sunodo) an make sure to either do not break backward compatibility or document the changes properly.

✔️ Solution

Evaluate options and implement a standard for logging.

📈 Subtasks

torives commented 1 week ago

Suggestion: remove all log calls from our libs. Let the caller code decide what should or shouldn't be logged and at what level.