From 3fc21c25ae68fa8028459d99020d270e65cc4d33 Mon Sep 17 00:00:00 2001 From: Spencer Ofwiti Date: Sun, 14 Mar 2021 11:25:38 +0300 Subject: [PATCH] Add logging environment variables. --- src/environments/environment.prod.ts | 7 ++++++- src/environments/environment.ts | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 3c80b84..6438ea8 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,7 +1,12 @@ +import {NgxLoggerLevel} from 'ngx-logger'; + export const environment = { production: true, bloxbergChainId: 8996, - cicAuthUrl: 'http://localhost:8080', + level: NgxLoggerLevel.OFF, + serverLogLevel: NgxLoggerLevel.ERROR, + loggingUrl: 'http://localhost:8000', + cicAuthUrl: 'https://meta.dev.grassrootseconomics.net', cicMetaUrl: 'http://localhost:63380', publicKeysUrl: 'http://localhost:8000', cicCacheUrl: 'http://localhost:63313', diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 66648c0..669a06c 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -2,10 +2,15 @@ // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. +import {NgxLoggerLevel} from 'ngx-logger'; + export const environment = { production: false, bloxbergChainId: 8996, - cicAuthUrl: 'http://localhost:8080', + level: NgxLoggerLevel.TRACE, + serverLogLevel: NgxLoggerLevel.ERROR, + loggingUrl: 'http://localhost:8000', + cicAuthUrl: 'https://meta.dev.grassrootseconomics.net', cicMetaUrl: 'http://localhost:63380', publicKeysUrl: 'http://localhost:8000', cicCacheUrl: 'http://localhost:63313',