Commit Graph
74 Commits
Author SHA1 Message Date
zkldi f7a33b2f89 fix: pass tsc 2024-04-16 19:45:44 +01:00
zkldi 52d4535add fix: use environment for log level, again 2024-04-16 19:27:44 +01:00
zkldi 56db4763ae refactor: always use env for logging 2024-04-16 17:51:51 +01:00
zkldi 630ff9a088 fix: make logs readable 2024-04-10 14:20:22 +01:00
zkldi 774f5104ca fix: better logging bits 2024-04-10 02:08:46 +01:00
zkldi a16a3035cc feat: redo logging (#1032)
file/whatever logging options are silly
2024-04-10 02:02:31 +01:00
zkldi 4475caaf8b fix: pass linting 2023-01-19 16:39:59 +00:00
zkldi d7900638ba fix: defer discord transport submissions if we get 429d
This was giving us brownout problems. When we tried to restart all of
our things, only some of them would connect to discord. The rest
would be 429d, and not boot.

This stopped us from firing up score workers, amusingly.
2022-08-24 09:25:25 +01:00
zkldi a6d23ad40a experimental: final cadence validation commit 2022-05-25 21:29:54 +01:00
zkldi bda6ee7412 style: rename hollis to cadence 2022-05-25 15:15:17 +01:00
zkldi 2c8b0870fb experimental: massive hollis changes 2022-05-20 00:24:09 +01:00
zkldi af2fa826a4 experimental: mass-hollis-refactor 2022-05-10 03:21:09 +01:00
zkldi 0adc39b5cb experimental: initial autofix blast 2022-05-06 03:39:03 +01:00
zkldi 9fd9577f67 Merge tag 'release/v2.0.21' into develop
Add a seq error handler to stop uncaught proc excp
2021-12-24 04:38:41 +00:00
zkldi 2bcca36af8 Add seq Error handler 2021-12-24 04:38:21 +00:00
zkldi 75564cabc1 fix weird comment typo 2021-12-20 17:45:18 +00:00
zkldi bd8599836a Add update-score and related tests 2021-12-08 17:40:21 +00:00
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