Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Update README.md - bringing back plugin debug log setting for package user [SKIP CI] #1207

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,16 @@ journalctl -fu docker.service # Journalctl/Systemd
"MaxLogSizeMb": 100,
"LogPath": "/var/log/docker-volume-vsphere.log"}
```
* **Turning on debug logging**: You can change the log level by passing `VDVS_LOG_LEVEL` key to `docker plugin install`, e.g.
```
docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest VDVS_LOG_LEVEL=debug
```
* **Turning on debug logging**:

- **Package user (DEB/RPM installation)**: Stop the service and manually run with `--log_level=debug` flag

- **Managed plugin user**: You can change the log level by passing `VDVS_LOG_LEVEL` key to `docker plugin install`.

e.g.
```
docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest VDVS_LOG_LEVEL=debug
```

**ESX Plugin logs**

Expand Down