Ejemplo n.º 1
0
    def get_logs_store(cls, persistence_logs='default'):
        import conf

        store, _, secret_key = get_store_secret_from_definition(
            conf.get('PERSISTENCE_LOGS'))
        return cls._get_store(store, secret_key)
Ejemplo n.º 2
0
 def get_logs_store(cls, persistence_logs='default'):
     store, _, secret_key = get_store_secret_from_definition(
         settings.PERSISTENCE_LOGS)
     return cls._get_store(store, secret_key)