Skip to content

Improve logging - #108

Merged
tnull merged 3 commits into
lightningdevkit:mainfrom
tnull:2023-05-improve-logging
Jun 1, 2023
Merged

Improve logging#108
tnull merged 3 commits into
lightningdevkit:mainfrom
tnull:2023-05-improve-logging

Conversation

@tnull

@tnulltnull commented May 23, 2023

Copy link
Copy Markdown
Collaborator

Based on #93, Fixes#109.

We improve our logging output by logging more detailed errors and introduce logging to start/stop methods.

Additionally, we expose the log level via Config::log_level and Builder::set_log_level.

@tnull
tnullforce-pushed the 2023-05-improve-logging branch from 6b772ae to 5181b30CompareMay 23, 2023 11:31
@tnull
tnullforce-pushed the 2023-05-improve-logging branch 2 times, most recently from b022172 to 4266b2fCompareMay 23, 2023 14:05
@tnulltnull mentioned this pull request May 23, 2023
47 tasks
@tnulltnull added this to the 0.1 milestone May 23, 2023
@tnull
tnullforce-pushed the 2023-05-improve-logging branch 4 times, most recently from af8de05 to f2d157fCompareMay 23, 2023 20:02
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Rebased after #93 has been merged.

@tnull
tnullforce-pushed the 2023-05-improve-logging branch from f2d157f to d80acebCompareMay 25, 2023 09:57
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Rebased on main after #101 landed.

@tnull
tnullforce-pushed the 2023-05-improve-logging branch from d80aceb to 3d87eaeCompareMay 27, 2023 06:47
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Rebased on main after #88 landed.

@tnull
tnullforce-pushed the 2023-05-improve-logging branch from 3d87eae to f4d3ca8CompareMay 27, 2023 06:54
@jkczyz
jkczyz self-requested a review June 1, 2023 13:10
Comment threadsrc/io/utils.rs Outdated
Comment threadsrc/io/utils.rs Outdated
Comment threadsrc/logger.rs
@tnull
tnullforce-pushed the 2023-05-improve-logging branch from f4d3ca8 to 31fd0c8CompareJune 1, 2023 13:45

@jkczyzjkczyz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please squash.

@tnull
tnullforce-pushed the 2023-05-improve-logging branch from 31fd0c8 to 7ece643CompareJune 1, 2023 15:51
@tnull

tnull commented Jun 1, 2023

Copy link
Copy Markdown
CollaboratorAuthor

LGTM. Please squash.

Squashed without further changes.

Comment threadsrc/lib.rs
@tnull
tnullforce-pushed the 2023-05-improve-logging branch from 7ece643 to 52ccd58CompareJune 1, 2023 19:34
@tnull
tnull merged commit 427e74c into lightningdevkit:mainJun 1, 2023
@tnulltnull mentioned this pull request Jun 1, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose easy way to control log level

2 participants

@tnull@jkczyz