From 8aa579520f094761925e0ae1f5904126fc334aae Mon Sep 17 00:00:00 2001 From: t0shi Date: Mon, 4 Jan 2021 15:06:21 -0800 Subject: [PATCH 1/2] changing logging level and service names --- index.js | 4 ++-- queue.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 0bbefe6..b765b4c 100644 --- a/index.js +++ b/index.js @@ -8,10 +8,10 @@ const steam = require('steam'), queue = require('./queue') const logger = winston.createLogger({ - level: 'info', + level: 'debug', format: winston.format.json(), defaultMeta: { - service: 'user-service' + service: 'dota2-bot' }, transports: [ new winston.transports.File({ diff --git a/queue.js b/queue.js index 7337f62..8d5e8c9 100644 --- a/queue.js +++ b/queue.js @@ -1,10 +1,10 @@ const winston = require('winston') const logger = winston.createLogger({ - level: 'info', + level: 'debug', format: winston.format.json(), defaultMeta: { - service: 'user-service' + service: 'queue' }, transports: [ new winston.transports.File({ From 64b30da902ffbfbbe71a6378f5a74a26d0f7d013 Mon Sep 17 00:00:00 2001 From: t0shi Date: Mon, 4 Jan 2021 15:07:22 -0800 Subject: [PATCH 2/2] changing version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b99a92a..afbe131 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-dota2-bot", - "version": "1.0.0", + "version": "1.0.1", "description": "A wrapper around the dota2 library forked from Crazy-Duck's original bot.", "main": "index.js", "scripts": {