Skip to content

Commit

Permalink
updated dev dependency: "@chat21/chat21-http-server": "^0.2.15",
Browse files Browse the repository at this point in the history
start_all.sh logging from ERROR to INFO
logging fixes
ver updt   "version": "0.2.24"
  • Loading branch information
sponzillo committed Oct 27, 2022
1 parent 133897f commit c8f2d49
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 13 deletions.
3 changes: 1 addition & 2 deletions observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,6 @@ function closeOnErr(err) {
}

async function startServer(config) {
logger.info("Starting observer....");
if (!config) {
config = {}
}
Expand Down Expand Up @@ -1023,7 +1022,7 @@ async function startServer(config) {
db = client.db();
logger.debug("Mongodb connected.");
chatdb = new ChatDB({database: db})
logger.info("Starting webhooks..., logger", logger);
logger.info("Starting webhooks...");
try {
webhooks = new Webhooks({appId: app_id, RABBITMQ_URI: rabbitmq_uri, exchange: exchange, webhook_endpoints: webhook_endpoints_array, webhook_events: webhook_events_array, queue_name: 'webhooks', logger: logger});
webhooks.enabled = webhook_enabled;
Expand Down
80 changes: 71 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"websocket-stream": "^5.5.2"
},
"devDependencies": {
"@chat21/chat21-http-server": "^0.2.9",
"@chat21/chat21-http-server": "^0.2.15",
"axios": "^0.21.1",
"loadtest": "^1.4.3",
"should": "^9.0.2"
Expand Down
2 changes: 1 addition & 1 deletion start_all.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LOG_LEVEL=ERROR node chatservermq.js ALL
LOG_LEVEL=INFO node chatservermq.js ALL

0 comments on commit c8f2d49

Please sign in to comment.