Skip to content

Commit 6e2247a

Browse files
committed
fix: one less flag for EnableSecurityLogging
1 parent bfe4a83 commit 6e2247a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DIRAC/Core/DISET/private/Service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ def initialize(self):
100100
"validNames": self._validNames,
101101
"csPaths": [PathFinder.getServiceSection(svcName) for svcName in self._validNames],
102102
}
103-
self.securityLogging = Operations().getValue("EnableSecurityLogging", False) and getServiceOption(
104-
self._serviceInfoDict, "EnableSecurityLogging", False
105-
)
103+
self.securityLogging = Operations().getValue("EnableSecurityLogging", False)
106104

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

0 commit comments

Comments
 (0)