# Path: lib/logger.py
# def get_logger(name):
#     '''
#     Obtain a logger outputing to stderr with specified name. Defaults to INFO
#     log level.
#     '''
#     logger = logging.getLogger(name)
#     if LUIGI_LOG_ARG in sys.argv:
#         index = sys.argv.index(LUIGI_LOG_ARG) + 1
#         if len(sys.argv) > index:
#             logger.setLevel(sys.argv[index])
# 
#     return logger


import os
import time
import re
import subprocess
import shutil
import zipfile
import requests
from lib.logger import get_logger
from itertools import zip_longest
from slugify import slugify
'''
Util functions for luigi bigmetadata tasks.
'''




OBSERVATORY_PREFIX = 'obs_'
OBSERVATORY_SCHEMA = 'observatory'


# Path: lib/logger.py
# def get_logger(name):
#     '''
#     Obtain a logger outputing to stderr with specified name. Defaults to INFO
#     log level.
#     '''
#     logger = logging.getLogger(name)
#     if LUIGI_LOG_ARG in sys.argv:
#         index = sys.argv.index(LUIGI_LOG_ARG) + 1
#         if len(sys.argv) > index:
#             logger.setLevel(sys.argv[index])
# 
#     return logger


# Path: tasks/util.py
import os
import time
import re
import subprocess
import shutil
import zipfile
import requests
from lib.logger import get_logger
from itertools import zip_longest
from slugify import slugify

'''
Util functions for luigi bigmetadata tasks.
'''




OBSERVATORY_PREFIX = 'obs_'
OBSERVATORY_SCHEMA = 'observatory'


LOGGER = get_logger(__name__)