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 @@ -276,14 +276,14 @@ def _reset(self):
276
276
# Modifying the ARCLogLevel of an ARCCE instance would impact all existing instances within a same process.
277
277
logLevel = self .ceParameters .get ("ARCLogLevel" , "" )
278
278
if logLevel :
279
- arc .Logger_getRootLogger ().removeDestinations ()
279
+ arc .Logger . getRootLogger ().removeDestinations ()
280
280
if logLevel not in self ._arcLevels :
281
281
self .log .warn ("ARCLogLevel input is not known:" , "%s not in %s" % (logLevel , self ._arcLevels ))
282
282
else :
283
283
logstdout = arc .LogStream (sys .stdout )
284
284
logstdout .setFormat (arc .ShortFormat )
285
- arc .Logger_getRootLogger ().addDestination (logstdout )
286
- arc .Logger_getRootLogger ().setThreshold (getattr (arc , logLevel ))
285
+ arc .Logger . getRootLogger ().addDestination (logstdout )
286
+ arc .Logger . getRootLogger ().setThreshold (getattr (arc , logLevel ))
287
287
288
288
return S_OK ()
289
289
You can’t perform that action at this time.
0 commit comments