rez.utils.logging#

rez.utils.logging_.view_file_logs(globbed_path, loglevel_index=None)#

View logs from one or more logfiles.

Prints to stdout.

Parameters:
  • globbed_path (str) – Logfiles, eg ‘/foo/logs/*.log’

  • loglevel_index (int) – Position on each log line where log level (INFO etc) is expected. This is used for colorisation only, and if None, no colors are applied.