Comments (7)
This is technically already possible, since the messages are sent to screen via logger. If you check the "Custom Logging" section at https://github.com/do-know/Crypt-LE, there is an example of log configuration file (used with -log-config option) - you can specify a different log level (WARN or ERROR for example instead of DEBUG). However an option to reduce the logging level without the custom file might be introduced at some point too.
from crypt-le.
Yes, I noted that. Writing the config file just feels extra work, when an option/flag could do. My point is that when the output is noisy I get an email from the cron job every time. I'd like to recieve one only when there's something to worry about. Currently I'm using the config file.
from crypt-le.
Option would make sense indeed. From your usage experience, would you rather had an option that suppresses both info messages and warnings, or only info messages? For example, the warning about not being able to pull the issuer's certificate might be important (depending on how you work with the certificates later on).
from crypt-le.
I think I'd like to see warnings. Maybe the best way would be --loglevel=WARNING or something that could use Log4Perl easy init with the given loglevel. Then user could easily set the level that he wants.
from crypt-le.
With --debug switch already there specifying the level explicitly might get a bit confusing, but I'll see to adding either something like that or just a specific silent/quiet option for the next version.
from crypt-le.
Update: Version 0.24 is going to CPAN today. Apart from other changes, it now supports '--quiet' switch that forces log level to ERROR. Note that the client does not have too many warnings and the few which are there should not be impacting the workflow normally, so both info and warnings will get suppressed if that option is used. Using loglevel option might be rather confusing for inexperienced users, while for the experienced ones log-config gives very flexible way to re-configure logging to their liking.
Once on CPAN, the code will also go to GitHub, Docker Hub, and will be released as Windows binaries.
from crypt-le.
Implemented in v0.24.
from crypt-le.
Related Issues (20)
- Option to setup preferred-chain HOT 2
- LE64.exe generates CA Bundle not working for IOT Devices
- Since end of September: Mac devices show cert problem on my domain, but not other lets’encrypt encrypted domains HOT 1
- SONAR.PSDownloader!g1 HOT 3
- Windows client crypt-le (le64.exe V0.38) could not finalize an order HOT 2
- Verification failed as a result of JWS has an invalid anti-replay nonce HOT 2
- RFE: support other ACME-based CAs HOT 3
- Failed to renew certificate HOT 4
- "Failed to save a CSR" is not fed to $opt->{'error'}->(...) before being returned HOT 5
- Windows installation (non binaries) error: 'cpanm' is not recognized as an internal or external command HOT 5
- Crypt::LE::Challenge::Simple is not getting initiated HOT 2
- How to add URI::Encode module to DNS.pm on Windows (using le64.exe) HOT 2
- sub handle_verification_dns is somehow not getting called from le64.exe HOT 2
- Could not finalize an order (v0.39)
- Expert advice requested: automating upgrading HOT 3
- Work with PowerDNS for DNS verification? HOT 1
- Add more CA's to the CA hash
- Please indicate when and if ARI (ACME Revocation Information) is supported HOT 1
- le64.exe Entry Point Not Found C:\Strawberry\perl\bin\perl538.dll missing function _ZdlPvy HOT 2
- Can't extract DNS values from first part HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypt-le.