Skip to content

Commit

Permalink
chore: add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
monstermuffin committed Jan 24, 2025
1 parent efe1b8b commit 0fe4260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qsticky.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ async def _get_forwarded_port(self) -> Optional[int]:
)
elif self.settings.gluetun_auth_type == "apikey":
headers["X-API-Key"] = self.settings.gluetun_apikey
self.logger.debug(f"Using API key auth with headers: {headers}")

self.logger.debug(f"Auth enabled: {self.settings.gluetun_auth_enabled}, type: {self.settings.gluetun_auth_type}")

async with self.session.get(
f"{self.gluetun_base_url}/v1/openvpn/portforwarded",
Expand Down

0 comments on commit 0fe4260

Please sign in to comment.