[PR #3569] [MERGED] libkernel: Reduce log spam #3577

Closed
opened 2026-02-27 22:04:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3569
Author: @StevenMiller123
Created: 9/10/2025
Status: Merged
Merged: 9/11/2025
Merged by: @squidbus

Base: mainHead: fix-log


📝 Commits (4)

  • b3aa0a2 Fix address formatting for invalid address asserts
  • ac0b9a1 Reduce event flag message to trace
  • a60c2b8 Remove excess logging in sceKernelBatchMap
  • e63c935 Log error return during sceKernelBatchMap

📊 Changes

3 files changed (+12 additions, -26 deletions)

View changed files

📝 src/core/libraries/kernel/memory.cpp (+1 -15)
📝 src/core/libraries/kernel/threads/event_flag.cpp (+2 -2)
📝 src/core/memory.cpp (+9 -9)

📄 Description

This PR removes some of the unnecessary logging we perform. I've swapped sceKernelCreateEventFlag to a trace log, since knowing an event flag is created doesn't contribute much to debugging. I've also removed the logging performed during sceKernelBatchMap, since all the memory functions it uses have their own info logs (and batch maps logic seems to be relatively solid), and fixed address formatting for the asserts I added in #3556

This PR shouldn't affect the compatibility of any games, but it will make any Assertion Failed! Attempted to access invalid address ... messages easier for developers to understand, and reduce memory log spamming in some of the few UE games that are currently stable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3569 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 9/10/2025 **Status:** ✅ Merged **Merged:** 9/11/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `fix-log` --- ### 📝 Commits (4) - [`b3aa0a2`](https://github.com/shadps4-emu/shadPS4/commit/b3aa0a2b32f071b3232829ef0b35ccaccd183f42) Fix address formatting for invalid address asserts - [`ac0b9a1`](https://github.com/shadps4-emu/shadPS4/commit/ac0b9a179394f9c75bae6fbe12d69bb23ba33330) Reduce event flag message to trace - [`a60c2b8`](https://github.com/shadps4-emu/shadPS4/commit/a60c2b8e0021359584d6be0a0550af950f1d7018) Remove excess logging in sceKernelBatchMap - [`e63c935`](https://github.com/shadps4-emu/shadPS4/commit/e63c9358d3a190829bbdb66c1abcb44f0dce125d) Log error return during sceKernelBatchMap ### 📊 Changes **3 files changed** (+12 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/memory.cpp` (+1 -15) 📝 `src/core/libraries/kernel/threads/event_flag.cpp` (+2 -2) 📝 `src/core/memory.cpp` (+9 -9) </details> ### 📄 Description This PR removes some of the unnecessary logging we perform. I've swapped sceKernelCreateEventFlag to a trace log, since knowing an event flag is created doesn't contribute much to debugging. I've also removed the logging performed during sceKernelBatchMap, since all the memory functions it uses have their own info logs (and batch maps logic seems to be relatively solid), and fixed address formatting for the asserts I added in #3556 This PR shouldn't affect the compatibility of any games, but it will make any `Assertion Failed! Attempted to access invalid address ...` messages easier for developers to understand, and reduce memory log spamming in some of the few UE games that are currently stable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3577
No description provided.