Skip to content

Commit 23ad5ce

Browse files
committed
Add log env vars to plugin config
1 parent 0d817cc commit 23ad5ce

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

plugin/config.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
],
77
"Env": [
88
{
9-
"Description": "dir used to keep track of currently mounted volumes",
9+
"Description": "Dir used to keep track of currently mounted volumes",
1010
"Name": "STATE_DIR",
1111
"Settable": ["value"],
1212
"Value": "/run/docker-volume-loopback"
1313
},
1414
{
15-
"Description": "dir used to store actual volume data",
15+
"Description": "Dir used to store actual volume data",
1616
"Name": "DATA_DIR",
1717
"Settable": ["value"],
1818
"Value": "/srv/var/lib/docker-volume-loopback"
1919
},
2020
{
21-
"Description": "dir used to create mount-points",
21+
"Description": "Dir used to create mount-points",
2222
"Name": "MOUNT_DIR",
2323
"Settable": ["value"],
2424
"Value": "/mnt"
@@ -34,6 +34,18 @@
3434
"Name": "SOCKET",
3535
"Settable": [],
3636
"Value": "/run/docker/plugins/loop.sock"
37+
},
38+
{
39+
"Description": "Log level - from 0 to 4 for Error/Warning/Info/Debug/Trace",
40+
"Name": "LOG_LEVEL",
41+
"Settable": [],
42+
"Value": "2"
43+
},
44+
{
45+
"Description": "Log format - json or text",
46+
"Name": "LOG_FORMAT",
47+
"Settable": [],
48+
"Value": "json"
3749
}
3850
],
3951
"Interface": {

0 commit comments

Comments
 (0)