summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig.json.sample1
-rw-r--r--docs/Configuration.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/config.json.sample b/config.json.sample
index 7043bc8..70549f8 100755
--- a/config.json.sample
+++ b/config.json.sample
@@ -7,6 +7,7 @@
"echo Deploy started!",
"echo Deploy completed!"
],
+ "log-level": "INFO",
"repositories": [
{
"url": "https://github.com/olipo186/Git-Auto-Deploy.git",
diff --git a/docs/Configuration.md b/docs/Configuration.md
index 916ae34..26c3028 100644
--- a/docs/Configuration.md
+++ b/docs/Configuration.md
@@ -24,6 +24,7 @@ as follow:
- **pidfilepath**: The path where `pid` files are kept.
- **logfilepath**: To enable logging, set this to a valid file path.
+ - **log-level**: Sets the threshold for the log output. Default value is NOTSET (all details). Recommended value is INFO (less details).
- **host**: What IP address to listen on.
- **port**: The port for the web server to listen on.
- **global_deploy**: An array of two specific commands or path to scripts