We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6f735e + 21a4e06 commit ff07b82Copy full SHA for ff07b82
articles/governance/machine-configuration/overview.md
@@ -401,10 +401,10 @@ Capture information from log files using
401
following example Bash script can be helpful.
402
403
```bash
404
-linesToIncludeBeforeMatch=0
405
-linesToIncludeAfterMatch=10
406
-logPath=/var/lib/GuestConfig/gc_agent_logs/gc_agent.log
407
-egrep -B $linesToIncludeBeforeMatch -A $linesToIncludeAfterMatch 'DSCEngine|DSCManagedEngine' $logPath | tail
+LINES_TO_INCLUDE_BEFORE_MATCH=0
+LINES_TO_INCLUDE_AFTER_MATCH=10
+LOGPATH=/var/lib/GuestConfig/gc_agent_logs/gc_agent.log
+egrep -B $LINES_TO_INCLUDE_BEFORE_MATCH -A $LINES_TO_INCLUDE_AFTER_MATCH 'DSCEngine|DSCManagedEngine' $LOGPATH | tail
408
```
409
410
### Agent files
0 commit comments