SCTGDesk server 1.1.16-sctg.6
Structured logs and visible connection events, both contributed by @noakky. Based on upstream rustdesk-server 1.1.16, like the previous releases.
SCTGDesk is an independent project, not affiliated with or endorsed by the RustDesk project or Purslane Ltd. Licensed under the AGPL-3.0; the source of this release is this repository at the tag
sctg-v1.1.16-sctg.6.
Server
LOG_FORMAT=jsonmakeshbbsandhbbrwrite one JSON object per log line (level, message, file, line, target, time), so log collectors such as Loki or Elasticsearch no longer need a regex. The Rocket API logs go through the same logger and are JSON too. When the variable is unset or has any other value, the text format is unchanged. (#93)- Connection events are logged at info. An event recorded by
/api/audit/connnow appears as one line in the log, withoutRUST_LOG=debug(which also logs every heartbeat). Events from unknown devices and retries stay at debug, and the user-supplied strings have escaped, so they cannot forge a log line. (#94)
Thanks
Many thanks to @noakky for these two contributions (#93 and #94): clear descriptions, tests, and changes limited to what was needed.
Upgrading
No configuration change and no migration ; LOG_FORMAT is opt-in. Rolling back the binary is enough.
Known limitations
- The full workspace test suite and the musl release build were not part of the contributors' own checks; the CI covers them.
- The translated READMEs do not document
LOG_FORMATyet. - The limitations of
1.1.16-sctg.5still apply (records posted by the devices cannot be authenticated, unsigned Windows and macOS server binaries, no iOS, Android or Linux client build).