modif archi apxtri
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const fs = require("fs-extra");
|
||||
const dayjs = require("dayjs");
|
||||
const conf = require(`../../conf/townconf.json`);
|
||||
const conf = require(`../../../../conf/townconf.json`);
|
||||
const l = {};
|
||||
l.context="";
|
||||
l.og = (...infos) => {
|
||||
@@ -19,7 +19,7 @@ l.og = (...infos) => {
|
||||
};
|
||||
|
||||
l.ogprod = (tribe,info) => {
|
||||
const logf = `../../nationchains/tribes/${tribe}/logs/apxtri/apxtri_${tribe}.log`;
|
||||
const logf = `../../tribes/${tribe}/logs/apxtri/apxtri_${tribe}.log`;
|
||||
const msg = `${days.js().toISOString()}###${l.context}###${tribe}###${info}`;
|
||||
fs.appendFileSync(logf, msg);
|
||||
console.log(msg)
|
||||
|
Reference in New Issue
Block a user