Add logging environment variables.

This commit is contained in:
Spencer Ofwiti 2021-03-14 11:25:38 +03:00
parent 9644d43682
commit 3fc21c25ae
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,12 @@
import {NgxLoggerLevel} from 'ngx-logger';
export const environment = { export const environment = {
production: true, production: true,
bloxbergChainId: 8996, 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', cicMetaUrl: 'http://localhost:63380',
publicKeysUrl: 'http://localhost:8000', publicKeysUrl: 'http://localhost:8000',
cicCacheUrl: 'http://localhost:63313', cicCacheUrl: 'http://localhost:63313',

View File

@ -2,10 +2,15 @@
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`. // The list of file replacements can be found in `angular.json`.
import {NgxLoggerLevel} from 'ngx-logger';
export const environment = { export const environment = {
production: false, production: false,
bloxbergChainId: 8996, 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', cicMetaUrl: 'http://localhost:63380',
publicKeysUrl: 'http://localhost:8000', publicKeysUrl: 'http://localhost:8000',
cicCacheUrl: 'http://localhost:63313', cicCacheUrl: 'http://localhost:63313',