Table of Contents
Overview
The application uses Serilog for logging.
Log levels
Error - Logs any errors thrown or encountered.
Warning - Logs any errors that don't cause fatal errors. For example an override parameter isn't set so it uses the default.
Information - Anywhere the application prints to the console (besides asking for input)
Debug - Logs additional information that can be useful for troubleshooting issues.
Verbose - Full logging requested for submitting bug reports.
Changing the logging level
letsencrypt-win-simple outputs to two locations by default (Serilog calls them sinks):
- Console (defaults to
Informationlevel and higher) - Event log (
Warninglevel and higher plus some keyInformationmessages to help monitor the scheduled task)
You can change the Console log level by modifying the letsencrypt.exe.config file. Level values (from above) are: Error, Warning, Information, Debug
<appSettings>
<add key="serilog:minimum-level" value="Debug" />
</appSettings>
More details on configuring sinks available at https://github.com/serilog/serilog/wiki/AppSettings#adding-a-sink
Please refer to https://pkisharp.github.io/win-acme/ for up-to-date documentation.