Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightningd: implement --log-timestamps=false. #4504

Merged
merged 1 commit into from
May 5, 2021

Conversation

rustyrussell
Copy link
Contributor

Fixes: #4494
Signed-off-by: Rusty Russell rusty@rustcorp.com.au
Changelog-Added: config: New option log-timestamps allow disabling of timestamp prefix in logs.

@rustyrussell rustyrussell added this to the v0.10.1 milestone May 3, 2021
@rustyrussell rustyrussell requested a review from cdecker as a code owner May 3, 2021 03:22
Copy link
Collaborator

@jsarenik jsarenik left a comment

Choose a reason for hiding this comment

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

Thank you Rusty!

@@ -197,6 +197,11 @@ Log to this file instead of stdout\. Sending \fBlightningd\fR(8) SIGHUP will
cause it to reopen this file (useful for log rotation)\.


\fBlog-timetamps\fR=\fIBOOL\fR
Set this to false to turn of timestamp prefixes (they will still appear
Copy link
Collaborator

Choose a reason for hiding this comment

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

to turn off

Copy link
Collaborator

Choose a reason for hiding this comment

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

see below (this one is generated)

@@ -157,6 +157,10 @@ with multiple daemons.
Log to this file instead of stdout. Sending lightningd(8) SIGHUP will
cause it to reopen this file (useful for log rotation).

**log-timetamps**=*BOOL*
Set this to false to turn of timestamp prefixes (they will still appear
Copy link
Collaborator

Choose a reason for hiding this comment

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

"to turn off", ah this is the source and the other is generated from this

@cdecker
Copy link
Member

cdecker commented May 4, 2021

Just a minor typo in the docs.

ACK 7e8d771

Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ack 7e8d771

@rustyrussell
Copy link
Contributor Author

Typo fixed, thanks!

Fixes: ElementsProject#4494
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: config: New option `log-timestamps` allow disabling of timestamp prefix in logs.
@jsarenik
Copy link
Collaborator

jsarenik commented May 5, 2021

ACK 451e189

@niftynei niftynei merged commit 9825f32 into ElementsProject:master May 5, 2021
Sign up for free to 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.

Option similar to bitcoind's -logtimestamps=0
5 participants