zkldi
d5737c1cca
add a FORCE_CONSOLE_LOG environment variable
2021-12-02 00:31:10 +00:00
zkldi
954bb06f10
Force stdout writing if IS_JOB.
2021-11-25 05:37:30 +00:00
zkldi
b9be948290
Change all CRLF to LF and standardise on LF
2021-11-16 12:44:28 +00:00
zkldi
085cb8ba37
Remove strcap from file logging
2021-11-14 03:22:40 +00:00
zkldi
eb84d9ed29
Fix GetLogLevel and another return issue with admin endpoint
2021-11-13 21:35:47 +00:00
zkldi
c313f21aef
I spelt Milliseconds wrong...
2021-11-11 02:01:34 +00:00
zkldi
9e6a9bd574
Add score deorphan processing to ir/beatoraja and ir/usc
2021-11-10 20:38:32 +00:00
zkldi
facb8cda48
Add replicaID to discord transport info
2021-11-10 20:10:31 +00:00
zkldi
c33fd834ae
Forgot to pluralise
2021-11-10 05:26:20 +00:00
zkldi
0e6690ee8a
Remove unecessary indentation in log snippet and use ISO.
2021-11-10 05:14:28 +00:00
zkldi
19c76f8cdc
Remove pluralisation and tidy up embed fields
2021-11-10 04:59:54 +00:00
zkldi
9bf95897d1
Add Log Snippets
2021-11-10 04:56:11 +00:00
zkldi
d86e6d11a2
Add startTime
2021-11-10 04:53:09 +00:00
zkldi
9c8ebfb544
Make log levels pluralise if more than one event triggered
2021-11-10 04:48:53 +00:00
zkldi
3582dd75d7
Use titlecase for log levels instead of allcaps
2021-11-10 04:48:19 +00:00
zkldi
4c5c76f3d9
Pretty discord errors up further.
2021-11-10 04:43:33 +00:00
zkldi
206c6e6b47
Make discord transport logs not look terrible
2021-11-10 04:39:28 +00:00
zkldi
f89b9856b0
Fix bug where loggers overwrote their own meta, remove __servername from console.
2021-11-10 04:04:24 +00:00
zkldi
190c2fb467
add __Worker to defaultMeta
2021-11-10 03:16:45 +00:00
zkldi
583b14a5bb
Add __ServerName and __replicaID to all logs.
2021-11-10 03:08:41 +00:00
zkldi
d07bba4330
Change all incorrect uses of conf5
2021-11-10 03:03:16 +00:00
zkldi
2600921cd6
Add seq piping and 0 transports warning
2021-11-10 02:38:04 +00:00
zkldi
d90b804fe5
Refactor how the discord transport works to bucket logs up.
2021-11-10 02:06:03 +00:00
zkldi
342101a508
Add replicaIdentity to logs
2021-11-10 00:34:26 +00:00
zkldi
9f65611327
Add logger symlinks
2021-10-13 19:50:29 +01:00
zkldi
8f02d7dfa3
Wow, that was really easy. Thanks winston.
2021-10-13 19:41:40 +01:00
zkldi
cc4e9dfa08
Enable logger truncation to avoid getting DDoSd
2021-10-10 17:00:05 +01:00
zkldi
643b3dcadf
Add a discord webhook for logs.
2021-09-17 20:03:26 +01:00
zkldi
742ce585e9
Add USC Chart Orphaning support (and tests!)
2021-09-06 16:40:19 +01:00
zkldi
b79804d273
Fixing Random Test Failure ( #309 )
...
* Test 1: Async Wrapping
* Revert "Test 1: Async Wrapping"
This reverts commit 8f0e0d283686d367e18275684cc7858af0538515.
* Pin github actions node version to the same as ours
* Revert "Pin github actions node version to the same as ours"
This reverts commit 3758ee05ef5647f608ef3fd1c85b88eb97e3f077.
* Move lint step to after running tests
* add a NO_CONSOLE config option
* temporarily set log level to debug
* Enable more mongodb logging in testing
* Experimentally bundle before script into SPT.
* run without any before
* Revert "Experimentally bundle before script into SPT."
* Revert "Enable more mongodb logging in testing"
This reverts commit c11f918c850dc53cb49b262cb0b51141ac132aab.
* Fix missing import
* Re add the mongodb logging
* Set LOG_LEVEL back to reasonable levels
* Increase timeouts for mongo and redis connections
* Change how codecov works
* Use ServerSelectionTimeoutMS instead of connect
* pls?
* Bump TAP Timeout to 4 minutes, which we'll probably never hit.
2021-09-01 06:26:37 +01:00
zkldi
04776732eb
Strip unused closeconnections
2021-08-26 13:42:47 +01:00
zkldi
8aabc33adf
Hoist t.teardown calls to the single-process-tap script
2021-08-26 03:42:06 +01:00
zkldi
a93defaf65
Refactor tap to use Single-Process-TAP
2021-08-26 03:06:29 +01:00
zkldi
a12b510448
fix broken tests depending on old config code
2021-08-10 22:28:24 +01:00
zkldi
5a6a334e69
Config Code refactor
2021-07-31 01:54:33 +01:00
zkldi
8baa8dc37a
Refactor entire repo to use baseUrl "/src"
...
Fixes #219
2021-07-28 23:53:05 +01:00
zkldi
997297932a
Fix Maintenance Endpoint #221
2021-07-28 22:24:47 +01:00
zkldi
dcb791d543
add getloglevel
2021-07-28 21:41:35 +01:00
zkldi
51c68dabc1
change json.stringify to safejson stringify
2021-07-24 02:44:55 +01:00
zkldi
a962f3dfec
Fix critical accident in RequestLoggerMiddleware
2021-07-23 19:10:32 +01:00
zkldi
b2f9fdc6ae
Fully tested new folder and tierlist APIs
2021-06-30 02:10:02 +01:00
zkldi
3f8fa475d6
clean up t.throws/t.rejects
2021-06-26 01:36:39 +01:00
zkldi
b6cee346b9
Convert space indentation to tabs.
2021-06-20 03:13:05 +01:00
zkldi
d573172cd9
that should be it for basic tests
2021-06-18 18:00:33 +01:00
zkldi
37993cdac1
Refactor every games calculatedData to be gameSpecific
2021-06-04 20:33:00 +01:00
zkldi
bd041d4208
revert c8 ignore next changes
2021-06-01 22:23:57 +01:00
zkldi
0df9f9131a
fix invalid transports in logger.test.ts
2021-06-01 13:58:15 +01:00
zkldi
691fa46fb7
remove file logging for testing
2021-06-01 13:57:24 +01:00
zkldi
1c9f1414e8
Add tests for codecov
2021-05-31 21:02:23 +01:00
zkldi
52560caf76
Change all calls to CloseMongoConnection to CloseAllConnections (This is because RedisPubSub clients now need to be closed sometimes)
2021-05-29 10:20:15 +01:00