Print

Print


This introduces configuration-file-controlled tracing of SciTokens-related messages and a number of detailed log messages.

As typical, this is controlled by a new config variable:
```
scitokens.trace [level] [level] ...
```

Where level can be one of `all`, `none`, `debug`, `info`, `warning`, or
`error`.

Roughly, the levels imply:
- Error: fatal issue in plugin configuration
- Warning: Potentially-problematic configuration or token that is invalid
- Info: Informational messages about the plugin.  Shouldn't have any logging per-request
- Debug: Verbose, per-request details about the tokens.

The default is error + warning; debug is not recommended for continuous production settings but is immensely helpful in solving problems.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1644

-- Commit Summary --

  * Populate XrdSciTokens with more detailed log messages.

-- File Changes --

    M src/XrdSciTokens/XrdSciTokensAccess.cc (194)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1644.patch
https://github.com/xrootd/xrootd/pull/1644.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1644
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1