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": "" + } } ```