mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 16:23:12 +09:00
Remove super exessive logging on master
Also added better prometheus endpoint logging
This commit is contained in:
1 parent
6e5585c86c
commit
47430b5d28
1 file changed
+1
-1
@@ -699,7 +699,7 @@ app.post("/api/getStats", function(req,res) {
|
|||||||
} else if(req.body.statistic == "remove"){
|
} else if(req.body.statistic == "remove"){
|
||||||
console.log(`sending remove data for instanceID ${req.body.instanceID} ${req.body.itemName}`);
|
console.log(`sending remove data for instanceID ${req.body.instanceID} ${req.body.itemName}`);
|
||||||
// Gather data
|
// Gather data
|
||||||
console.log(sentItemStatisticsBySlaveID)
|
// console.log(sentItemStatisticsBySlaveID)
|
||||||
let itemStats = sentItemStatisticsBySlaveID[req.body.instanceID];
|
let itemStats = sentItemStatisticsBySlaveID[req.body.instanceID];
|
||||||
console.log(itemStats)
|
console.log(itemStats)
|
||||||
if(typeof itemStats == "object"){
|
if(typeof itemStats == "object"){
|
||||||
|
|||||||
Reference in new issue
Block a user