Based in Melbourne, Australia.

Developer
Life

Reverse Proxy Tracing in WebSEAL

Reverse Proxy Tracing in WebSEAL

 

Overview

Sometimes, particularly for development environments, you may want to have certain WebSEAL reverse proxy logging turned on all the time. Unfortunately, if you restart the proxy, it turns off any logging you may have had turned on. So how do we consistently enable it?

Editing WebSEAL Configuration file

For the reverse proxy instance we want to enable the trace on, open the configuration file. In the configuration file, find the below stanza and add the below values. This will turn on pdweb.debug for that instance and rollover 9 files.

[anzapi-configuration]
trace = pdweb.debug 9
logcfg = trace.pdweb.debug+9:file path = trace__pdweb.debug.log

stats = pdweb.sescache 60
logcfg = stats.pdweb.sescache:file path=pdweb.sescache.log,rollover_size=1000000,max_rollover_files=3

Additional Information/Links

Here are some useful links you can checkout for additional information on enabling traces.

 
Attribute-based Authorization - ACL / POP

Attribute-based Authorization - ACL / POP

Visual Studio Code - My 2020 Setup

Visual Studio Code - My 2020 Setup