transferlogs.py#

Copy full log, conf file, and log snippets for each MongoDB version.

transferlogs.enable_logging(debug)[source]#

Log levels: DEBUG, INFO, WARNING, ERROR.

transferlogs.grep(filename, pattern)[source]#

Search a file for a pattern. Return an array of matching lines.

transferlogs.process_files(indir, outdir)[source]#

Find log files, process, and write to output directory.

transferlogs.process_version(filename, outdir)[source]#

Process log for MongoDB version and add files to output directory.