Beispiel #1
0
def cat_logs(args):
  try:
    check_dest(args)
    all_logs = []
    all_logs += download_s3_logs(args)
    all_logs += download_live_logs(args)
    cat_files(args, all_logs)
  except KeyboardInterrupt:
    exit('Stopping logcat...', 'magenta')
Beispiel #2
0
def cat_logs(args):
  try:
    check_dest(args)
    all_logs = []
    all_logs += download_s3_logs(args)
    all_logs += download_live_logs(args)
    cat_files(args, all_logs)
  except KeyboardInterrupt:
    exit('Stopping logcat...', 'magenta')
Beispiel #3
0
def fetch_logs(args):
  try:
    check_dest(args)
    all_logs = []
    if not args.skip_s3:
      all_logs += download_s3_logs(args)
    if not args.skip_live:
      all_logs += download_live_logs(args)
    grep_files(args, all_logs)
  except KeyboardInterrupt:
    exit('Stopping logfetch...', 'magenta')
Beispiel #4
0
def cat_logs(args):
    try:
        check_dest(args)
        all_logs = []
        if not args.skip_s3:
            all_logs += download_s3_logs(args)
        if not args.skip_live:
            all_logs += download_live_logs(args)
        if not args.download_only:
            cat_files(args, all_logs)
    except KeyboardInterrupt:
        exit('Stopping logcat...', 'magenta')
Beispiel #5
0
def cat_logs(args):
    try:
        check_dest(args)
        all_logs = []
        if not args.skip_s3:
            all_logs += download_s3_logs(args)
        if not args.skip_live:
            all_logs += download_live_logs(args)
        if not args.download_only:
            cat_files(args, all_logs)
    except KeyboardInterrupt:
        exit('Stopping logcat...', 'magenta')
Beispiel #6
0
def fetch_logs(args):
    check_dest(args)
    all_logs = []
    all_logs += download_s3_logs(args)
    all_logs += download_live_logs(args)
    grep_files(args, all_logs)