Skip to content

Commit 2b00859

Browse files
author
set
committed
Add container urls list to logs for easier debugging
1 parent c42f5c0 commit 2b00859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/app/swag-ondemand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def process_containers(self):
4949
container_urls = container.labels.get("swag_ondemand_urls", f"https://{default_url},http://{default_url}")
5050
if container.name not in self.ondemand_containers.keys():
5151
last_accessed = datetime.now()
52-
logging.info(f"Started monitoring {container.name}")
52+
logging.info(f"Started monitoring {container.name} for urls: {container_urls}")
5353
else:
5454
last_accessed = self.ondemand_containers[container.name]["last_accessed"]
5555
self.ondemand_containers[container.name] = { "status": container.status, "urls": container_urls, "last_accessed": last_accessed }

0 commit comments

Comments
 (0)