Skip to content

Commit

Permalink
Updating docs to no longer use the trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
tonedefdev committed Oct 4, 2022
1 parent bebcc2d commit 243e2e3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,29 +405,28 @@ export TC_CONFIG_PATH=/home/username/

For Windows:
```powershell
$env:TC_CONFIG_PATH="C:\Temp\"
$env:TC_CONFIG_PATH="C:\Temp"
```
> Please, take note of the trailing slash!

To persist this change you can set this variables either in `.bashrc` for Linux/macOS or setup a PowerShell profile for Windows.

To enable logging for Windows setup the `config.yaml` as follows:
```yaml
logging:
enabled: true
path: C:\Temp\
path: C:\Temp
```

To enable logging for macOS and Linux:
To enable logging for macOS and Linux to a directory called `.terracreds` in the user's home profile:
```yaml
logging:
enabled: true
path: /home/username/
path: ~/.terracreds
```

You can also use `terracreds` to configure logging:
```bash
terracreds config logging --path '/home/username/' --enabled
terracreds config logging --path '~/.terracreds' --enabled
```

The log is helpful in understanding if an object was found, deleted, updated or added, and will be found at the path defined in the configuration file as `terracreds.log`.
Expand Down

0 comments on commit 243e2e3

Please sign in to comment.