ape.log_setter.cleanup

ape.log_setter.cleanup(log_directory='last_log', log_name='ape.log')

Saves the last log to log-directory

Param:
  • log_directory: sub-directory to save old file to
  • log_name: the name of the log-file (default is log_setter.LOGNAME)
Postconditions:
  • log_directory is a sub-directory of the current directory (if log exists)
  • log-file is moved to the log-directory (if log existed)

Navigation