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","."]
docstr: flush():  Do nothing.
  
  Since a flush is issued in release(), we don't do it here. To do a flush
  here, it would be necessary to re-lock everything, and it is just easier
  and cleaner to do it all in release(), rather than requiring two lock
  ops per handle() call.
  
  Doing a flush() here would also introduces a window of opportunity for
  another process to write to the log file in between calling
  stream.write() and stream.flush(), which seems like a bad thing.
docstr_tok: ["flush","(",")",":","Do","nothing",".","Since","a","flush","is","issued","in","release","(",")",",","we","do","n't","do","it","here",".","To","do","a","flush","here",",","it","would","be","necessary","to","re-lock","everything",",","and","it","is","just","easier","and","cleaner","to","do","it","all","in","release","(",")",",","rather","than","requiring","two","lock","ops","per","handle","(",")","call",".","Doing","a","flush","(",")","here","would","also","introduces","a","window","of","opportunity","for","another","process","to","write","to","the","log","file","in","between","calling","stream.write","(",")","and","stream.flush","(",")",",","which","seems","like","a","bad","thing","."]
code: def flush(self):
      """flush():  Do nothing.
  
      Since a flush is issued in release(), we don't do it here. To do a flush
      here, it would be necessary to re-lock everything, and it is just easier
      and cleaner to do it all in release(), rather than requiring two lock
      ops per handle() call.
  
      Doing a flush() here would also introduces a window of opportunity for
      another process to write to the log file in between calling
      stream.write() and stream.flush(), which seems like a bad thing.
      """
      pass
  
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 6 for calling the ConcurrentRotatingFileHandler obj's underlying member method code with example usage: obj.flush() without return types