How to change Bastion\Teams-Protector log level without restarting the service?

Bastion

  1. Open "C:\Agat\Bastion\Bastion.xml"

  2. Scroll down to <logging>,<main>,<severity>

image-20240221-121011.png

Update the severity to either:

info - not recommended in production environments

xtrace - recommended for production environments

debug - recommended only when investigating issues

Save the file

Teams-Protector

  1. Open "C:\Agat\Bastion\filters\fw_proxy\Teams_Protector.xml"

  2. Scroll down to <logging>,<main>,<severity>

image-20240221-121625.png

Update the severity to either:

info - not recommended in production environments

xtrace - recommended for production environments

debug - recommended only when investigating issues

Save the file

Update log level without restarting services

  1. Open the browser on the Bastion Host

  2. Type http://localhost:<port>/updatelogs) (the port will be the one that Bastion is listening on)

  3. The log level should be updated.