From f6a9230d8591d830ace9461e9b440d0769335483 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Thu, 26 Jan 2023 21:42:18 +0200 Subject: [PATCH] readme update --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cfef000..e39e0e7 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,25 @@ For this integration, the setup is very simple. All you need is an API Key gener } ``` -## Database -The database is SQLite. It is created automatically at the first start of the service, if it is missing. The path where the database is stored can be configured as follows: +## Logging +The logging functionality is managed with Serilog, and its configuration is done in the ```appsettings.json``` file. In addition to its standard configuration, Correo also has a preconfigured area where three destinations for logs are available: file, Postgres database and Seq. Each of the destinations can be activated or not. If logging in the console is sufficient, all additional logging destinations can be disabled. +This configuration area is: ``` -"Workspace": "workspace", -"ConnectionStrings": { - "DatabaseConnection": "Data Source={Workspace}\\correo.db" +"Logs": { + "File": { + "Enabled": false, + "Path": "logs/log.txt" + }, + "Postgres": { + "Enabled": false, + "Connection": "Host=;Port=5432;User ID=;Password=;Database=;" + }, + "Seq": { + "Enabled": false, + "Url": "", + "ApiKey": "" + } } ```