Skip to content

Commit

Permalink
Merge pull request #26 from gofractally/write-traces-to-console
Browse files Browse the repository at this point in the history
write traces to console by default
  • Loading branch information
James-Mart authored Feb 27, 2024
2 parents 63adb85 + c779054 commit 7682e2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/_dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
run: |
necessary_jobs=$(./.github/scripts/check-patterns.sh "$ALL_CHANGED_FILES")
read -r run_tc run_2004 run_2204 run_contrib <<< "$necessary_jobs"
echo "run_tc=${run_tc}" >> $GITHUB_OUTPUT
echo "run_2004=${run_2004}" >> $GITHUB_OUTPUT
echo "run_2204=${run_2204}" >> $GITHUB_OUTPUT
echo "run_contrib=${run_contrib}" >> $GITHUB_OUTPUT
echo "run_tc=${run_tc}" | tee -a $GITHUB_OUTPUT
echo "run_2004=${run_2004}" | tee -a $GITHUB_OUTPUT
echo "run_2204=${run_2204}" | tee -a $GITHUB_OUTPUT
echo "run_contrib=${run_contrib}" | tee -a $GITHUB_OUTPUT
build-tool-config:
name: "Build tool config"
Expand All @@ -91,7 +91,7 @@ jobs:
build-contributor:
name: "Build contributor"
needs: [determine-actions, build-tool-config, build-2204]
if: ${{ needs.determine-actions.outputs.run_contrib == '1' }}
if: ${{ !cancelled() && needs.determine-actions.outputs.run_contrib == '1' }}
uses: ./.github/workflows/contributor.yml
with:
new_tools: ${{ needs.build-tool-config.result == 'success'}}
Expand Down
2 changes: 1 addition & 1 deletion docker/conf/psinode/configs/http.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ admin-authz = rw:loopback
[logger.stderr]
type = console
filter = Severity >= info
format = [{TimeStamp}] [{Severity}]{?: [{RemoteEndpoint}]}: {Message}{?: {TransactionId}}{?: {BlockId}}{?RequestMethod:: {RequestMethod} {RequestHost}{RequestTarget}{?: {ResponseStatus}{?: {ResponseBytes}}}}{?: {ResponseTime} µs}
format = [{TimeStamp}] [{Severity}]{?: [{RemoteEndpoint}]}: {Message}{?: {TransactionId}}{?: {BlockId}}{?RequestMethod:: {RequestMethod} {RequestHost}{RequestTarget}{?: {ResponseStatus}{?: {ResponseBytes}}}}{?: {ResponseTime} µs}{Indent:4:{TraceConsole}}

# Log all HTTP reqests to a separate file
[logger.http]
Expand Down
2 changes: 1 addition & 1 deletion docker/conf/psinode/configs/https.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ admin-authz = rw:loopback
[logger.stderr]
type = console
filter = Severity >= info
format = [{TimeStamp}] [{Severity}]{?: [{RemoteEndpoint}]}: {Message}{?: {TransactionId}}{?: {BlockId}}{?RequestMethod:: {RequestMethod} {RequestHost}{RequestTarget}{?: {ResponseStatus}{?: {ResponseBytes}}}}{?: {ResponseTime} µs}
format = [{TimeStamp}] [{Severity}]{?: [{RemoteEndpoint}]}: {Message}{?: {TransactionId}}{?: {BlockId}}{?RequestMethod:: {RequestMethod} {RequestHost}{RequestTarget}{?: {ResponseStatus}{?: {ResponseBytes}}}}{?: {ResponseTime} µs}{Indent:4:{TraceConsole}}

# Log all HTTP reqests to a separate file
[logger.http]
Expand Down

0 comments on commit 7682e2c

Please sign in to comment.