* Logging fixes and catches (#79621)
THIS IS A REDO BECAUSE GITHUB SUCKS ASS
## About The Pull Request
Hardens logging against sudden and unexpected cases where we try to log
to a category that is not initialized or the file goes missing.
## Why It's Good For The Game
Logging needs to be robust and bullet proof
* Logging fixes and catches
---------
Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
* Bumps compile to 515 (#79134)
## About The Pull Request
LSP supports it, let's GOOOOOO
I've removed the 515 tests since they're stable, alongside the libcall
wrapper. left the rustgcall wrapper cause yaknow memes
Just removed all the 515 and 514 particular define wrappers. gaming
## Changelog
🆑
server: Minimum compile version has been bumped to 515. clients still
support 514 but we're gonna start using 515 restricted features for
serverside now.
/🆑
---------
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
* Bumps compile to 515
* Fixes a TGS regression in its API
---------
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
* splits out tgui from the debug master category (#76428)
Splits out tgui from the debug master category at the request of @ Fikou
Removes pointless overrides of internal_format since the default is now
FALSE and also adds an additional comment about ensuring the shit works
if you change the default.
I believe the original reason was that fikou didnt want to sort through
the entire debug log for tgui stuff.
* splits out tgui from the debug master category
---------
Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
* Re-add missing categories to externally formatted log files (#76051)
## About The Pull Request
Currently externally-formatted log files (handled by rust-g) do not
include categories. This seems erroneous, and causes a discrepancy
between the internal and externally formatted files as external
formatting only seems to add the timestamp and some newline handling.
Currently:

With this PR:

## Why It's Good For The Game
Resolves a disparity between external and internal formatting made
evident by #75972.
## Changelog
🆑 bobbahbrown
server: Fix log categories being erroneously excluded from log files.
/🆑
* Re-add missing categories to externally formatted log files
---------
Co-authored-by: Brett <bobbahbrown@gmail.com>
* all logs are now externally formatted (#75972)
Internal formatting should only be used for logs that include their own
timestamp or don't want one printed.
atm internal formatting does not add the continuation market to newlines
which is an issue that is causing info leak of private loglines.
two logs that always used newlines were manually moved to external
formatting in the original pr, this now makes that the default. a log
type must have a valid reason to format internally now and specifically
request this.
(None of this impacts json logs)
🆑
server: fix logging infoleak from the lack of continuation markets on
new lines.
/🆑
* all logs are now externally formatted
---------
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
* Reverts qdel logging to a raw text file (#75632)
## About The Pull Request
We log this information once, on SSgarbage shutdown. Putting it in a
json is kinda pointless, it exists to be read when we see massive
overtime from ssgarbage, that's all.
Something something reee my workflow.
## Changelog
🆑
server: qdel statistics are once again logged in qdel.log, instead of
the otherwise typical json logging system
/🆑
* Converts del logging to proper json, using json objects instead of building a text file (#75636)
## About The Pull Request
It's easier to parse, and makes more sense when you read it. This way
I'll never have to add yet another case to my parser for someone
changing where a space goes or something.
Moves qdel into its own category cause the old name looked ugly (yell if
this is dumb)
Added a bitfield to entries pulled from categories, adds a new flag that
enables pretty printing json lists.
## Why It's Good For The Game
IMPROVES my workflow
## Changelog
🆑
server: del logging is now done by outputting to a json file again, but
this time we're using ACTUAL json and not just a big text string with
newlines and shit
/🆑
---------
Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
---------
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>