Skip to content
Snippets Groups Projects
Commit 4b332db1 authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

disable appengine logging

parent 0232817d
No related branches found
No related tags found
1 merge request!6Trusted ibm
...@@ -4,10 +4,12 @@ import org.opengroup.osdu.core.common.logging.ILogger; ...@@ -4,10 +4,12 @@ import org.opengroup.osdu.core.common.logging.ILogger;
import org.opengroup.osdu.core.gcp.logging.logger.AppEngineLoggingProvider; import org.opengroup.osdu.core.gcp.logging.logger.AppEngineLoggingProvider;
import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.FactoryBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@ConditionalOnProperty(name="disable.appengine.log.factory", havingValue = "false", matchIfMissing = true )
@Component @Component
@Primary @Primary
@Lazy @Lazy
......
...@@ -61,3 +61,5 @@ STORAGE_QUERY_RECORD_FOR_CONVERSION_HOST=http://os-storage-service/api/storage/v ...@@ -61,3 +61,5 @@ STORAGE_QUERY_RECORD_FOR_CONVERSION_HOST=http://os-storage-service/api/storage/v
STORAGE_RECORDS_BATCH_SIZE=20 STORAGE_RECORDS_BATCH_SIZE=20
INDEXER_QUEUE_HOST=http://os-storage-service/_dps/task-handlers/enqueue INDEXER_QUEUE_HOST=http://os-storage-service/_dps/task-handlers/enqueue
disable.appengine.log.factory=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment