Add parameter to enable db logging, disabled by default

This commit is contained in:
Runebaas 2019-01-27 22:08:49 +01:00
parent 26da438efe
commit 2c6b61b7e6
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
5 changed files with 23 additions and 8 deletions

View file

@ -45,6 +45,10 @@ namespace Geekbot.net.Lib
[Option("db-password", Default = "", HelpText = "Set a posgresql password")]
public string DbPassword { get; set; }
// Logging
[Option("db-logging", Default = false, HelpText = "Enable database logging")]
public bool DbLogging { get; set; }
/************************************
* Redis *