Skip to content

Commit d0ba751

Browse files
authored
Mod instructions enabling debug logging: orgs
Clarified that the secret or variable can be set at the organizational level for enabling runner and step debug logging. As in, you can set ACTIONS_RUNNER_DEBUG to true at organization-level and it will work as expected.
1 parent 8c25364 commit d0ba751

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/actions/how-tos/monitor-workflows/enable-debug-logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ Runner diagnostic logging provides additional log files that contain information
3636
* The runner process log, which includes information about coordinating and setting up runners to execute jobs.
3737
* The worker process log, which logs the execution of a job.
3838

39-
1. To enable runner diagnostic logging, set the following secret or variable in the repository that contains the workflow: `ACTIONS_RUNNER_DEBUG` to `true`. If both the secret and variable are set, the value of the secret takes precedence over the variable.
39+
1. To enable runner diagnostic logging, set the following secret or variable in the repository (or at organizational-level) that contains the workflow: `ACTIONS_RUNNER_DEBUG` to `true`. If both the secret and variable are set, the value of the secret takes precedence over the variable.
4040
1. To download runner diagnostic logs, download the log archive of the workflow run. The runner diagnostic logs are contained in the `runner-diagnostic-logs` folder. For more information on downloading logs, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#downloading-logs).
4141

4242
## Enabling step debug logging
4343

4444
Step debug logging increases the verbosity of a job's logs during and after a job's execution.
4545

46-
1. To enable step debug logging, set the following secret or variable in the repository that contains the workflow: `ACTIONS_STEP_DEBUG` to `true`. If both the secret and variable are set, the value of the secret takes precedence over the variable.
46+
1. To enable step debug logging, set the following secret or variable in the repository (or at organizational-level) that contains the workflow: `ACTIONS_STEP_DEBUG` to `true`. If both the secret and variable are set, the value of the secret takes precedence over the variable.
4747
1. After setting the secret or variable, more debug events are shown in the step logs. For more information, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures).
4848

4949
You can also use the `runner.debug` context to conditionally run steps only when debug logging is enabled. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/contexts#runner-context).

0 commit comments

Comments
 (0)