class_docstr: Handler for logging to a set of files, which switches from one file to the
  next when the current file reaches a certain size. Multiple processes can
  write to the log file concurrently, but this may mean that the file will
  exceed the given size.
class_docstr_tok: ["Handler","for","logging","to","a","set","of","files",",","which","switches","from","one","file","to","the","next","when","the","current","file","reaches","a","certain","size",".","Multiple","processes","can","write","to","the","log","file","concurrently",",","but","this","may","mean","that","the","file","will","exceed","the","given","size","."]
code: def _openFile(self, mode):
      if self.encoding:
          self.stream = codecs.open(
              self.baseFilename, mode, self.encoding
          )
      else:
          self.stream = open(self.baseFilename, mode)
  
file_path: nipype/nipype/external/cloghandler.py
imports: import os
  import sys
  from random import randint
  from logging import Handler
  from logging.handlers import BaseRotatingHandler
  from filelock import SoftFileLock
  import logging.handlers
label_desc: Use image node_id 2 for calling the ConcurrentRotatingFileHandler obj's underlying member method code with example usage: obj._openFile(mode) without return types