Skip to content

Commit

Permalink
fix: one less flag for EnableSecurityLogging
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jan 21, 2025
1 parent bfe4a83 commit 6e2247a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DIRAC/Core/DISET/private/Service.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ def initialize(self):
"validNames": self._validNames,
"csPaths": [PathFinder.getServiceSection(svcName) for svcName in self._validNames],
}
self.securityLogging = Operations().getValue("EnableSecurityLogging", False) and getServiceOption(
self._serviceInfoDict, "EnableSecurityLogging", False
)
self.securityLogging = Operations().getValue("EnableSecurityLogging", False)

# Initialize Monitoring
# The import needs to be here because of the CS must be initialized before importing
Expand Down

0 comments on commit 6e2247a

Please sign in to comment.