remove log to console

This commit is contained in:
Tamius Han 2020-01-27 23:42:35 +01:00
parent c62033fb28
commit 691f45fbcc
5 changed files with 0 additions and 12 deletions

View File

@ -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();

View File

@ -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

View File

@ -147,8 +147,6 @@ export default {
async created () {
this.logger = new Logger({
allowLogging: true,
logToFile: false,
logToConsole: false
});
await this.logger.init();

View File

@ -207,8 +207,6 @@ export default {
async created() {
this.logger = new Logger({
allowLogging: true,
logToFile: false,
logToConsole: false
});
await this.logger.init();

View File

@ -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 || {},
});