mirror of
https://github.com/citra-emu/discord-bot.git
synced 2024-12-22 18:56:29 +00:00
Updated logging.js to read config.app
This commit is contained in:
parent
abf019ccb0
commit
23f2e06b55
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"app": "discord-bot",
|
||||
|
||||
"logdnaKey": "",
|
||||
"enableLogdnaLogging": false,
|
||||
"enableConsoleLogging": true,
|
||||
|
@ -8,7 +10,7 @@
|
|||
"clientLoginToken": null,
|
||||
|
||||
"pmReply": "Please refer to our **Frequently Asked Questions**. <https://citra-emu.org/wiki/faq/>",
|
||||
|
||||
|
||||
"quotes": {
|
||||
"faq": { "reply": "Please refer to our **Frequently Asked Questions**. <https://citra-emu.org/wiki/faq/>" },
|
||||
"requirements": { "reply": "Please refer to our **Frequently Asked Questions**. The only requirements for Citra is a GPU that supports at least OpenGL 3.3 and a 64-bit OS, but you definitely want a processor with the highest possible performance per core. <https://citra-emu.org/wiki/faq/>"},
|
||||
|
|
|
@ -26,7 +26,7 @@ if (config.enableLogdnaLogging === true && config.logdnaKey) {
|
|||
key: config.logdnaKey,
|
||||
ip: ip.address(),
|
||||
hostname: os.hostname(),
|
||||
app: 'services-services'
|
||||
app: config.app
|
||||
});
|
||||
logger.debug('[logging] Started LogDNA winston transport.');
|
||||
} else if (config.enableLogdna === true) {
|
||||
|
|
Loading…
Reference in a new issue