diff --git a/blogs-analyzer-ui/src/app/app.module.ts b/blogs-analyzer-ui/src/app/app.module.ts index fa3a07f..186cf6e 100644 --- a/blogs-analyzer-ui/src/app/app.module.ts +++ b/blogs-analyzer-ui/src/app/app.module.ts @@ -44,7 +44,11 @@ import { LoggerModule, NgxLoggerLevel } from "ngx-logger"; MatButtonModule, HighchartsChartModule, MarkdownModule.forRoot(), - LoggerModule.forRoot({level: NgxLoggerLevel.DEBUG, serverLogLevel: NgxLoggerLevel.ERROR}) + LoggerModule.forRoot({ + level: NgxLoggerLevel.DEBUG, + serverLogLevel: NgxLoggerLevel.ERROR, + disableConsoleLogging: false + }) ], providers: [], bootstrap: [AppComponent] diff --git a/blogs-analyzer-ui/src/environments/environment.prod.ts b/blogs-analyzer-ui/src/environments/environment.prod.ts index c0eafdb..9925c02 100644 --- a/blogs-analyzer-ui/src/environments/environment.prod.ts +++ b/blogs-analyzer-ui/src/environments/environment.prod.ts @@ -1 +1,8 @@ -export const environment = { production: true, apiUrl: 'http://34.100.166.202/api' }; +import { NgxLoggerLevel } from "ngx-logger"; + +export const environment = { + production: true, + apiUrl: 'http://34.100.166.202/api', + logLevel: NgxLoggerLevel.DEBUG, + serverLogLevel: NgxLoggerLevel.ERROR +};