Skip to content

Commit 880b59e

Browse files
committed
additional logging!
1 parent 2a215bb commit 880b59e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

eng/pipelines/templates/jobs/ci.tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858
ServiceDirectory: ${{ parameters.ServiceDirectory }}
5959
PackageInfoDirectory: $(Build.ArtifactStagingDirectory)/PackageInfo
6060

61+
- pwsh: |
62+
Write-Host "##vso[task.setvariable variable=Logging__LogLevel__Default]Debug"
63+
displayName: Set Proxy Log Level
64+
6165
- ${{ if eq(parameters.TestProxy, true) }}:
6266
- template: /eng/common/testproxy/test-proxy-standalone-tool.yml
6367

@@ -96,3 +100,8 @@ jobs:
96100
cat $(Build.SourcesDirectory)/test-proxy.log
97101
displayName: 'Dump Test Proxy logs'
98102
condition: and(succeededOrFailed(), eq(variables['System.Debug'], 'true'))
103+
104+
- pwsh: |
105+
curl http://localhost:5000/Audit/Logs | Write-Host
106+
displayName: 'Dump Test Proxy Audit Log'
107+
condition: and(succeededOrFailed(), eq(variables['System.Debug'], 'true'))

0 commit comments

Comments
 (0)