File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/DIRAC/Resources/Computing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -291,14 +291,14 @@ def _reset(self):
291
291
# Modifying the ARCLogLevel of an ARCCE instance would impact all existing instances within a same process.
292
292
logLevel = self .ceParameters .get ("ARCLogLevel" , "" )
293
293
if logLevel :
294
- arc .Logger_getRootLogger ().removeDestinations ()
294
+ arc .Logger . getRootLogger ().removeDestinations ()
295
295
if logLevel not in self ._arcLevels :
296
296
self .log .warn ("ARCLogLevel input is not known:" , f"{ logLevel } not in { self ._arcLevels } " )
297
297
else :
298
298
logstdout = arc .LogStream (sys .stdout )
299
299
logstdout .setFormat (arc .ShortFormat )
300
- arc .Logger_getRootLogger ().addDestination (logstdout )
301
- arc .Logger_getRootLogger ().setThreshold (getattr (arc , logLevel ))
300
+ arc .Logger . getRootLogger ().addDestination (logstdout )
301
+ arc .Logger . getRootLogger ().setThreshold (getattr (arc , logLevel ))
302
302
303
303
return S_OK ()
304
304
You can’t perform that action at this time.
0 commit comments