Commit 4894064c authored by lukas.burgey's avatar lukas.burgey

Logger deployment accesses

parent f8bf46b8
Pipeline #110851 failed with stage
in 1 minute and 25 seconds
......@@ -169,6 +169,8 @@ class VODeployment(Deployment):
if created:
LOGGER.debug(deployment.msg('Created'))
else:
LOGGER.debug(deployment.msg('Accessed'))
LOGGER.debug('VO has services: %s', vo.services.all())
for service in vo.services.all():
......@@ -205,8 +207,9 @@ class ServiceDeployment(Deployment):
if created:
LOGGER.debug(deployment.msg('Created'))
else:
LOGGER.debug(deployment.msg('Accessed'))
LOGGER.debug('Service exists: %s', service)
DeploymentState.get_or_create(user, service, deployment)
return deployment
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment