Play your Steam library's Windows games on a jailbroken PS5.
C++
Hide more personal details in shared logs
Leonardo Lobato003a9cf105bd
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 95099ba..d827955 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -42,7 +42,7 @@ To build Playden, run its tests or put it on a console, see [docs/building.md](dThe script lists the games that have a log, the most recently run first, and asks which one to collect. Itwrites `playden-logs-<time>.zip` and prints a table with your firmware, Playden package and kit. It reads onlyPlayden's `logs/` folder, the games' names and the kit manifest, never your Steam sign-in, and it replaces your- Steam account name and SteamIDs in the logs. Use `--all-titles` to collect every game.+ Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses in the logs. Use `--all-titles` to collect every game.5. [Open a test report](../../issues/new?template=test-report.yml), paste the table and attach the zip. The[sample report](docs/sample-test-report.md) shows what to fill in.diff --git a/README.md b/README.mdindex 81ce5c6..ec0e42f 100644--- a/README.md+++ b/README.md@@ -385,8 +385,8 @@ Every test helps, including games that work. To report one:```It lists the games that have a log, the most recently run first, and asks which one to collect. The script- reads only Playden's logs (`/data/playden/logs`), never your Steam sign-in. It hides your Steam account name and- SteamIDs, and writes a zip with a summary of your firmware and kit versions.+ reads only Playden's logs (`/data/playden/logs`), never your Steam sign-in. It hides your Steam account name,+ SteamIDs, family group ID, PS5 user ID and home network addresses, and writes a zip with a summary of your firmware and kit versions.3. [Open a game test report](../../issues/new?template=test-report.yml) and attach the zip. See a[sample report](docs/sample-test-report.md) for what to fill in.diff --git a/docs/sample-test-report.md b/docs/sample-test-report.mdindex 58b9752..aa1e6c3 100644--- a/docs/sample-test-report.md+++ b/docs/sample-test-report.md@@ -28,7 +28,7 @@ Pasted from `python3 tools/collect_logs.py --host 192.168.1.50` (game 2 in its l| kit runtime | f29127a-kit-g-r2 || kit capabilities | dxvk, game-root-unowned, offline_bottle, per_game_title, title-any-id, wine-shared-sections, wow64_i386 || game titles | FAKE78011 (app 1055540) |-| redacted | Steam account name and SteamIDs |+| redacted | Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses |### Where the game is installed@@ -76,5 +76,5 @@ Crash!!!- **One game per report.** If two games fail the same way, open two reports and mention each other.- **Say how far the game got:** black screen, spinner, logos, menu, in game. This narrows the cause a lot.- **Copy error lines** from the log into the report if you see them. The full zip is still needed.-- **Check the logs before you post.** The script hides your Steam account name and SteamIDs, but logs can still+- **Check the logs before you post.** The script hides your Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses, but logs can stillshow the names of your games and folders.diff --git a/src/steam/backend/family_groups.cpp b/src/steam/backend/family_groups.cppindex ffdb1bd..f10c2fa 100644--- a/src/steam/backend/family_groups.cpp+++ b/src/steam/backend/family_groups.cpp@@ -193,8 +193,7 @@ FamilyProbe ProbeFamily(const StoredSession& session, const FamilyPerform& perfolog(std::string("family webapi group=n not_member=") + (group->not_member ? "1" : "0"));return probe;}- std::string line = "family webapi group=y family_groupid=" + std::to_string(group->family_groupid) +- " role=" + (group->role ? std::to_string(*group->role) : std::string("?")) ++ std::string line = "family webapi group=y role=" + (group->role ? std::to_string(*group->role) : std::string("?")) +" members=" + std::to_string(group->members.size());for (const auto& member : group->members)line += " member=" + std::to_string(member.steamid) + ":" +diff --git a/src/web/logs_source.cpp b/src/web/logs_source.cppindex 2e0ec35..40a69ee 100644--- a/src/web/logs_source.cpp+++ b/src/web/logs_source.cpp@@ -21,6 +21,7 @@ namespace json = steam::json;constexpr std::string_view kTitlePrefix = "title-";constexpr std::string_view kSteamIdPrefix = "7656119";constexpr std::string_view kKitId = "playden-kit";+constexpr std::string_view kRedacted = "Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses";// What Playden's "Store name in PS5 titles" setting adds to a title name; imported games get none.constexpr std::string_view kStoreSuffixes[] = {" (Steam)", " (GOG)", " (Epic)"};@@ -278,6 +279,66 @@ std::string RedactOwnerIds(std::string_view text) {return out;}+// A number other than 0 after key=, as \bkey=[1-9][0-9]*\b. With a line_marker, only on the lines that have it.+std::string RedactKeyedNumber(std::string_view text, std::string_view key, std::string_view placeholder,+ std::string_view line_marker = {}) {+ std::string out;+ out.reserve(text.size());+ std::size_t copied = 0;+ for (std::size_t at = text.find(key); at != std::string_view::npos; at = text.find(key, at + 1)) {+ if (at != 0 && WordChar(text[at - 1])) continue;+ const auto start = at + key.size();+ auto end = start;+ while (end < text.size() && Digit(text[end])) ++end;+ if (end == start || text[start] == '0' || (end != text.size() && WordChar(text[end]))) continue;+ if (!line_marker.empty()) {+ const auto newline = text.rfind('\n', at);+ const auto line = newline == std::string_view::npos ? 0 : newline + 1;+ if (text.substr(line, at - line).find(line_marker) == std::string_view::npos) continue;+ }+ out.append(text.substr(copied, start - copied));+ out += placeholder;+ copied = end;+ }+ out.append(text.substr(copied));+ return out;+}++// Private IPv4 addresses (10/8, 172.16/12, 192.168/16) as in tools/collect_logs.py. Public ones stay: they are Steam's+// servers. A last part of 0 stays too: that is no device, but a version such as .NET's 10.0.0.0.+std::string RedactHomeAddresses(std::string_view text) {+ std::string out;+ out.reserve(text.size());+ for (std::size_t i = 0; i < text.size();) {+ if (Digit(text[i]) && (i == 0 || (!WordChar(text[i - 1]) && text[i - 1] != '.'))) {+ int parts[4] = {};+ int count = 0;+ auto at = i;+ while (count < 4) {+ const auto start = at;+ int value = 0;+ while (at < text.size() && Digit(text[at]) && at - start < 4) value = value * 10 + (text[at++] - '0');+ if (at == start || at - start > 3 || value > 255) break;+ parts[count++] = value;+ if (count == 4) break;+ if (at == text.size() || text[at] != '.') break;+ ++at;+ }+ const bool whole = count == 4 && (at == text.size() || (!WordChar(text[at]) &&+ !(text[at] == '.' && at + 1 < text.size() && Digit(text[at + 1]))));+ const bool home = parts[0] == 10 || (parts[0] == 192 && parts[1] == 168) ||+ (parts[0] == 172 && parts[1] >= 16 && parts[1] <= 31);+ if (whole && home && parts[3] != 0) {+ out += "<home-ip>";+ i = at;+ continue;+ }+ }+ out.push_back(text[i++]);+ }+ return out;+}+std::string Redact(std::string_view text, const std::set<std::string>& found, const Redaction& account) {std::string out;out.reserve(text.size());@@ -296,6 +357,12 @@ std::string Redact(std::string_view text, const std::set<std::string>& found, coout.push_back(text[i++]);}out = RedactOwnerIds(out);+ out = RedactKeyedNumber(out, "family_groupid=", "<family-group>");+ // The PS5 user: Playden's launch.log and the kit's hid lines in title logs.+ out = RedactKeyedNumber(out, "user=", "<ps5-user>");+ out = RedactKeyedNumber(out, "pad users initial=", "<ps5-user>");+ out = RedactKeyedNumber(out, "foreground=", "<ps5-user>", "pad users initial=");+ out = RedactHomeAddresses(out);if (account.steam_id != 0) ReplaceAll(out, std::to_string(account.steam_id), "<steam-id>");std::vector<std::string> names(found.begin(), found.end());if (!account.account_name.empty()) names.push_back(account.account_name);@@ -497,7 +564,7 @@ std::string LogsSource::StatusJson(std::int64_t now) const {return "{\"version\":" + fact("Playden version") + ",\"package\":" + fact("Playden package") +",\"firmware\":" + fact("firmware") + ",\"kit_runtime\":" + fact("kit runtime") +",\"kit_capabilities\":" + fact("kit capabilities") + ",\"other_kit_folders\":" + fact("other kit folders") +- ",\"redacted\":\"Steam account name and SteamIDs\",\"collected\":" + fact("collected") + "}";+ ",\"redacted\":" + JsonString(kRedacted) + ",\"collected\":" + fact("collected") + "}";}std::string LogsSource::IndexJson(const LogsIndex& index) const {@@ -556,7 +623,7 @@ bool LogsSource::WriteReport(const LogsIndex& index, std::string_view title, confor (const auto* game : chosen)titles += (titles.empty() ? "" : ", ") + game->title + " (app " + (game->app ? std::to_string(game->app) : "?") + ")";fields.emplace_back("game titles", titles.empty() ? "none" : titles);- fields.emplace_back("redacted", "Steam account name and SteamIDs");+ fields.emplace_back("redacted", std::string(kRedacted));std::vector<std::string> files;for (const auto& log : index.playden) files.push_back(log.name);diff --git a/src/web/logs_source.h b/src/web/logs_source.hindex 3a4d586..9889eb4 100644--- a/src/web/logs_source.h+++ b/src/web/logs_source.h@@ -64,8 +64,9 @@ std::string TitleNameFromParam(std::string_view json);// Steam account names a log shows in Wine's L"SteamUser" L"<name>" and L"SteamAppUser" L"<name>".void AddAccountNames(std::string_view text, std::set<std::string>* names);// SteamIDs (7656119 and ten more digits) become <steam-id>, the signed-in account's ID too, and so do the-// 32-bit account IDs older versions wrote as owner=<id> and owners=<id>:<count>,...; every-// name (the signed-in one and the found ones, longest first, ignoring ASCII case) becomes <steam-user>.+// 32-bit account IDs older versions wrote as owner=<id> and owners=<id>:<count>,...; family_groupid=<id> becomes+// <family-group>, the PS5 user ID (user=<id> and the pad users line) <ps5-user>, and a private IPv4 address <home-ip>;+// every name (the signed-in one and the found ones, longest first, ignoring ASCII case) becomes <steam-user>.std::string Redact(std::string_view text, const std::set<std::string>& names, const Redaction& account);// The last console_firmware= value in the texts, in order; empty if none.std::string Firmware(const std::vector<std::string_view>& texts);diff --git a/src/web/page/index.html b/src/web/page/index.htmlindex d3f6678..d72e215 100644--- a/src/web/page/index.html+++ b/src/web/page/index.html@@ -119,7 +119,7 @@ td.empty { color: var(--soft); }<div class="wide"><dt>Package</dt><dd id="fact-package">…</dd></div><div class="wide"><dt>Firmware</dt><dd id="fact-firmware">…</dd></div><div><dt>Runtime kit</dt><dd id="fact-kit">…</dd></div>- <div class="wide"><dt>Redacted</dt><dd class="ok">Steam name, SteamIDs</dd></div>+ <div class="wide"><dt>Redacted</dt><dd class="ok">Steam name, SteamIDs, family group, PS5 user, home IPs</dd></div></dl><div class="actions-row">diff --git a/tests/entitled_library_test.cpp b/tests/entitled_library_test.cppindex 816dd82..205bd00 100644--- a/tests/entitled_library_test.cpp+++ b/tests/entitled_library_test.cpp@@ -675,7 +675,7 @@ void FamilyServiceIsAskedByEveryLoad() {assert(result.error == LibraryError::kNone && result.games.size() == 3);assert(WaitFor(lines, "family webapi app=81 "));assert(requests == 4);- assert(lines.Count("family webapi group=y family_groupid=42 role=2 members=1 member=5:1") == 2);+ assert(lines.Count("family webapi group=y role=2 members=1 member=5:1") == 2);assert(lines.Count("family webapi shared_apps=2 excluded=0 owners=1 unlicensed=1 licenses=known") == 1);assert(lines.Count("family webapi app=80 owners=5 exclude_reason=0 licensed=shared") == 1);assert(lines.Count("family webapi app=81 owners=5 exclude_reason=0 licensed=n") == 1);diff --git a/tests/family_groups_test.cpp b/tests/family_groups_test.cppindex 5fc285c..199f426 100644--- a/tests/family_groups_test.cpp+++ b/tests/family_groups_test.cpp@@ -123,7 +123,7 @@ void LogsTheGroupAndTheUnlicensedApps() {assert(fake.requests[1].url.find("include_own=false") != std::string::npos);assert(fake.requests[1].url.find("include_excluded=true") != std::string::npos);assert(fake.requests[0].timeout_ms <= 10000 && fake.requests[1].timeout_ms <= 10000);- assert(fake.Has("family webapi group=y family_groupid=9876543210 role=1 members=2 member=76561198000000001:1 "+ assert(fake.Has("family webapi group=y role=1 members=2 member=76561198000000001:1 ""member=76561198000000002:2"));assert(fake.Has("family webapi shared_apps=3 excluded=1 owners=2 unlicensed=1 licenses=known license_shared_apps=1"));assert(fake.Has("family webapi app=620 owners=76561198000000002 exclude_reason=0 licensed=shared"));diff --git a/tests/test_collect_logs.py b/tests/test_collect_logs.pyindex 699510e..278c766 100644--- a/tests/test_collect_logs.py+++ b/tests/test_collect_logs.py@@ -85,6 +85,29 @@ class CollectLogsTests(unittest.TestCase):'owners=none flags=none', 'owners=family-1:1,family-2:2', 'co_owner=123', 'owner=123x'):self.assertEqual(collect_logs.redact(kept, set()), kept)+ def test_redacts_the_family_group_ps5_user_and_home_addresses(self):+ # The same cases as web_logs_source_test.cpp.+ for text, expected in (+ ('family webapi group=y family_groupid=48224 role=2',+ 'family webapi group=y family_groupid=<family-group> role=2'),+ ('keyboard module=3 init=0x00000000 open=0x00000001 user=307640721',+ 'keyboard module=3 init=0x00000000 open=0x00000001 user=<ps5-user>'),+ ('REC seq=9 t=1.5 PW_WINEN hid mouse module=0xd init=0 open=0x1 merged=1 user=307640721\n',+ 'REC seq=9 t=1.5 PW_WINEN hid mouse module=0xd init=0 open=0x1 merged=1 user=<ps5-user>\n'),+ ('pad users initial=307640721 rc=0x00000000 foreground=307640721 rc=0x00000000\nforeground=7',+ 'pad users initial=<ps5-user> rc=0x00000000 foreground=<ps5-user> rc=0x00000000\nforeground=7'),+ ('pad users initial=-1 rc=0x80000000 foreground=0 rc=0x80000000',+ 'pad users initial=-1 rc=0x80000000 foreground=0 rc=0x80000000'),+ ('started port=7031 address=192.168.2.83', 'started port=7031 address=<home-ip>'),+ ('GET /report 200 12 192.168.2.25', 'GET /report 200 12 <home-ip>'),+ ('10.1.2.3:27015 (172.16.0.1) 172.31.255.254,', '<home-ip>:27015 (<home-ip>) <home-ip>,'),+ ):+ self.assertEqual(collect_logs.redact(text, set()), expected)+ for kept in ('family_groupid=0', 'user=0 user=-1 user=alice steamuser=12 user=12x', 'foreground=7',+ 'cm 155.133.248.39:27017 dns 1.1.1.1 local 127.0.0.1', '172.15.0.1 172.32.0.1 192.169.0.1',+ 'Version=10.0.0.0', '10.0.22621.1 10.0.1.256 1.10.0.1.5 10.0.1.2.3 x10.0.1.2 10.0.1.2x'):+ self.assertEqual(collect_logs.redact(kept, set()), kept)+def test_finds_the_account_name_in_any_log(self):stopped_early = '== session-1.log\nPW_REPORT/1 profile=playden-steam-220\nopen C:/users/Alice failed\n'names = collect_logs.account_names([stopped_early, title_log(40800)])diff --git a/tests/web_logs_source_test.cpp b/tests/web_logs_source_test.cppindex 83cec7e..3f2234c 100644--- a/tests/web_logs_source_test.cpp+++ b/tests/web_logs_source_test.cpp@@ -82,6 +82,24 @@ int main() {CHECK(Redact("owners=1043647817:1,1541563032", {}, {}) == "owners=<steam-id>:1,<steam-id>");CHECK(Redact("family webapi app=730 owners=76561198000000002,76561198000000003 exclude_reason=0", {}, {}) =="family webapi app=730 owners=<steam-id>,<steam-id> exclude_reason=0");+ // The family group, the PS5 user and home network addresses, the same cases as test_collect_logs.py.+ CHECK(Redact("family webapi group=y family_groupid=48224 role=2", {}, {}) ==+ "family webapi group=y family_groupid=<family-group> role=2");+ CHECK(Redact("keyboard module=3 init=0x00000000 open=0x00000001 user=307640721", {}, {}) ==+ "keyboard module=3 init=0x00000000 open=0x00000001 user=<ps5-user>");+ CHECK(Redact("REC seq=9 t=1.5 PW_WINEN hid mouse module=0xd init=0 open=0x1 merged=1 user=307640721\n", {}, {}) ==+ "REC seq=9 t=1.5 PW_WINEN hid mouse module=0xd init=0 open=0x1 merged=1 user=<ps5-user>\n");+ CHECK(Redact("pad users initial=307640721 rc=0x00000000 foreground=307640721 rc=0x00000000\nforeground=7", {}, {}) ==+ "pad users initial=<ps5-user> rc=0x00000000 foreground=<ps5-user> rc=0x00000000\nforeground=7");+ CHECK(Redact("pad users initial=-1 rc=0x80000000 foreground=0 rc=0x80000000", {}, {}) ==+ "pad users initial=-1 rc=0x80000000 foreground=0 rc=0x80000000");+ CHECK(Redact("started port=7031 address=192.168.2.83", {}, {}) == "started port=7031 address=<home-ip>");+ CHECK(Redact("GET /report 200 12 192.168.2.25", {}, {}) == "GET /report 200 12 <home-ip>");+ CHECK(Redact("10.1.2.3:27015 (172.16.0.1) 172.31.255.254,", {}, {}) == "<home-ip>:27015 (<home-ip>) <home-ip>,");+ for (const char* kept : {"family_groupid=0", "user=0 user=-1 user=alice steamuser=12 user=12x", "foreground=7",+ "cm 155.133.248.39:27017 dns 1.1.1.1 local 127.0.0.1", "172.15.0.1 172.32.0.1 192.169.0.1",+ "Version=10.0.0.0", "10.0.22621.1 10.0.1.256 1.10.0.1.5 10.0.1.2.3 x10.0.1.2 10.0.1.2x"})+ CHECK(Redact(kept, {}, {}) == kept);for (const char* kept : {"owner=cm step=x", "owner=shared x", "owner=0 flags=0x1", "owner=family-1 flags=0x1","owner=self flags=0x1", "family webapi shared_apps=3 owners=2 unlicensed=1","owners=none flags=none", "owners=family-1:1,family-2:2", "co_owner=123", "owner=123x"})@@ -196,7 +214,7 @@ def names(path):playden = ['logs/install.log', 'logs/runtime.log', 'logs/runtime.log.1', 'logs/steam.log']listed, summary = names(sys.argv[1] + '/newest.zip')assert listed == ['summary.md'] + sorted(playden + ['logs/title-FAKE78002.log', 'logs/title-FAKE78002.registry.txt']), listed-assert '| game titles | FAKE78002 (app 40800) |' in summary and '| redacted | Steam account name and SteamIDs |' in summary+assert '| game titles | FAKE78002 (app 40800) |' in summary and '| redacted | Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses |' in summaryassert summary.startswith('| Field | Value |\n| --- | --- |\n| collected | 2026-10-10 03:12 UTC |\n| Playden package | 917f7b2a81c4 |')listed, summary = names(sys.argv[1] + '/all.zip')assert '| game titles | FAKE78001 (app 220), FAKE78002 (app 40800), FAKE78003 (app ?) |' in summary, summarydiff --git a/tools/collect_logs.py b/tools/collect_logs.pyindex a7916cf..1512569 100644--- a/tools/collect_logs.py+++ b/tools/collect_logs.py@@ -2,8 +2,8 @@"""Collect Playden's logs from a PS5 over FTP into a zip for a test report.Reads only /data/playden/logs (or the app's logs folder on 0.4.x and older) and the active kit's manifest. It never reads-playden-data, which holds the Steam sign-in. The Steam account name and SteamIDs are-replaced in every file unless --no-redact is given.+playden-data, which holds the Steam sign-in. The Steam account name, SteamIDs, family group ID,+PS5 user ID and home network addresses are replaced in every file unless --no-redact is given.python3 tools/collect_logs.py --host 192.168.1.50@@ -44,6 +44,13 @@ STEAM_ID = re.compile(r"\b7656119\d{10}\b")OWNER_ID = re.compile(r"\bowner=(?!0\b)[0-9]+\b")OWNER_IDS = re.compile(r"\bowners=[0-9]+:[0-9]+(?:,[0-9]+(?::[0-9]+)?)*")OWNER_LIST_ID = re.compile(r"(?<=[=,])[0-9]+")+FAMILY_GROUP = re.compile(r"\bfamily_groupid=[1-9][0-9]*\b")+# The PS5 user: Playden's launch.log and the kit's hid lines in title logs.+PS5_USER = re.compile(r"\buser=[1-9][0-9]*\b")+PAD_INITIAL = re.compile(r"\bpad users initial=[1-9][0-9]*\b")+PAD_FOREGROUND = re.compile(r"(\bpad users initial=[^\n]*?\bforeground=)[1-9][0-9]*\b")+QUAD = re.compile(r"(?<![\w.])([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})(?!\w|\.[0-9])")+REDACTED = "Steam account name, SteamIDs, family group ID, PS5 user ID and home network addresses"FIRMWARE = re.compile(r"console_firmware=(\S+)")SKIP_SUFFIXES = (".ppm",)@@ -169,10 +176,23 @@ def account_names(texts):return names+def home_address(match):+ """<home-ip> for a private IPv4 address. Public ones stay: they are Steam's servers. A last part of 0 stays too: that+ is no device, but a version such as .NET's 10.0.0.0."""+ a, b, c, d = (int(part) for part in match.groups())+ home = a == 10 or (a, b) == (192, 168) or (a == 172 and 16 <= b <= 31)+ return "<home-ip>" if home and max(a, b, c, d) <= 255 and d != 0 else match.group(0)++def redact(text, names):text = STEAM_ID.sub("<steam-id>", text)text = OWNER_ID.sub("owner=<steam-id>", text)text = OWNER_IDS.sub(lambda match: OWNER_LIST_ID.sub("<steam-id>", match.group(0)), text)+ text = FAMILY_GROUP.sub("family_groupid=<family-group>", text)+ text = PS5_USER.sub("user=<ps5-user>", text)+ text = PAD_INITIAL.sub("pad users initial=<ps5-user>", text)+ text = PAD_FOREGROUND.sub(r"\g<1><ps5-user>", text)+ text = QUAD.sub(home_address, text)for name in sorted(names, key=len, reverse=True):text = re.sub(re.escape(name), "<steam-user>", text, flags=re.IGNORECASE)return text@@ -291,7 +311,7 @@ def main():which.add_argument("--all-titles", action="store_true", help="include every game's log")which.add_argument("--list", action="store_true", help="only list the games that have a log")parser.add_argument("--out", type=Path, help="zip to write (default: playden-logs-<time>.zip here)")- parser.add_argument("--no-redact", action="store_true", help="keep the Steam account name and SteamIDs")+ parser.add_argument("--no-redact", action="store_true", help="keep the Steam account name, IDs and home network addresses")args = parser.parse_args()if not args.host:parser.error("give the PS5's address with --host or PLAYDEN_PS5_HOST")@@ -371,7 +391,7 @@ def main():names = set() if args.no_redact else account_names([*title_logs.values(), *playden_logs.values()])if not args.no_redact:files = {name: redact(text, names) for name, text in files.items()}- info["redacted"] = "no" if args.no_redact else "Steam account name and SteamIDs"+ info["redacted"] = "no" if args.no_redact else REDACTEDreport = summary(info)out = args.out or Path(f"playden-logs-{datetime.now().strftime('%Y%m%d-%H%M%S')}.zip")