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

Disable date prefix in output #1895

Open
1 task done
mattiasb opened this issue Apr 14, 2023 · 0 comments
Open
1 task done

Disable date prefix in output #1895

mattiasb opened this issue Apr 14, 2023 · 0 comments
Labels

Comments

@mattiasb
Copy link

mattiasb commented Apr 14, 2023

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.

How do you use lego?

Binary

Detailed Description

Hi!

First I'd like to say thanks for lego. It's amazing and simple to use!

I'm running lego as a (systemd) service on my machines. Since the logs end up in the journal you get a timestamp for the log output already which makes legos own date times redundant (and a bit noisy).

Example output from systemctl status lego@myserver.example.com:

...
Apr 14 16:46:30 myserver lego[19429]: 2023/04/14 16:46:30 [INFO] [myserver.example.com] acme: Could not find solver for: tls-alpn-01
Apr 14 16:46:30 myserver lego[19429]: 2023/04/14 16:46:30 [INFO] [myserver.example.com] acme: use http-01 solver
Apr 14 16:46:30 myserver lego[19429]: 2023/04/14 16:46:30 [INFO] [myserver.example.com] acme: Trying to solve HTTP-01
...

I'd prefer it to be:

...
Apr 14 16:46:30 myserver lego[19429]: [INFO] [myserver.example.com] acme: Could not find solver for: tls-alpn-01
Apr 14 16:46:30 myserver lego[19429]: [INFO] [myserver.example.com] acme: use http-01 solver
Apr 14 16:46:30 myserver lego[19429]: [INFO] [myserver.example.com] acme: Trying to solve HTTP-01
...

Thanks again for Lego! ♥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants