From 89f47739e1b36e94d51a0514eba03600e41615f4 Mon Sep 17 00:00:00 2001 From: danielsanchezq Date: Mon, 3 Aug 2020 13:11:47 +0200 Subject: [PATCH] Updated docs with log related arguments --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e6fc257..051f9df6 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ The command line flags can be retrieved using the `--help` when running the serv TLS_CERT_FILE=] --db-url Database url [env: DATABASE_URL=] [default: ./db/database.sqlite3] --in-settings-file Load settings from file +--log-level Application logging level +--log-output-path Output log file path --max-age-secs If none provided, CORS responses won't be cached --out-settings-file Dump current settings to file --priv-key-file @@ -68,7 +70,11 @@ An example of the contents of the file would be like this: "max_age_secs" : 60 }, "db_url": "./database.sqlite3", - "block0_path": "./test/bin.test" + "block0_path": "./test/bin.test", + "log" : { + "log_output_path" : "./server.log", + "log_level" : "error" + } } ```