remove log to console
This commit is contained in:
parent
c62033fb28
commit
691f45fbcc
@ -33,8 +33,6 @@ class UWServer {
|
||||
// logger is the first thing that goes up
|
||||
const loggingOptions = {
|
||||
allowLogging: true,
|
||||
logToFile: false,
|
||||
logToConsole: true,
|
||||
logAll: true,
|
||||
};
|
||||
this.logger = new Logger();
|
||||
|
@ -44,8 +44,6 @@ class UW {
|
||||
if (!this.logger) {
|
||||
const loggingOptions = {
|
||||
allowLogging: true,
|
||||
logToFile: false,
|
||||
logToConsole: false,
|
||||
fileOptions: {
|
||||
enabled: false,
|
||||
// really the same stuff as consoleOptions
|
||||
|
@ -147,8 +147,6 @@ export default {
|
||||
async created () {
|
||||
this.logger = new Logger({
|
||||
allowLogging: true,
|
||||
logToFile: false,
|
||||
logToConsole: false
|
||||
});
|
||||
await this.logger.init();
|
||||
|
||||
|
@ -207,8 +207,6 @@ export default {
|
||||
async created() {
|
||||
this.logger = new Logger({
|
||||
allowLogging: true,
|
||||
logToFile: false,
|
||||
logToConsole: false
|
||||
});
|
||||
await this.logger.init();
|
||||
|
||||
|
@ -102,8 +102,6 @@ Browser-related stuff (please ensure this section is correct):
|
||||
loadLoggerSettings(conf) {
|
||||
this.loggingEnabled = conf.allowLogging;
|
||||
this.lastLoadedLoggerSettings = {
|
||||
logToFile: conf.logToFile,
|
||||
logToConsole: conf.logToConsole,
|
||||
fileOptions: conf.fileOptions,
|
||||
consoleOptions: conf.consoleOptions
|
||||
};
|
||||
@ -115,8 +113,6 @@ Browser-related stuff (please ensure this section is correct):
|
||||
const parsedSettings = JSON.parse(this.loggerSettings);
|
||||
Logger.saveConfig({
|
||||
allowLogging: allowLogging,
|
||||
logToFile: parsedSettings.logToFile || false,
|
||||
logToConsole: parsedSettings.logToConsole || false,
|
||||
fileOptions: parsedSettings.fileOptions || {},
|
||||
consoleOptions: parsedSettings.consoleOptions || {},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user