fix: log management race condition, partial delete reporting, and UX issues

- Fix data race on gin.DefaultWriter during log rotation by adding LogWriterMu
- Report partial failure when some log files fail to delete instead of always returning success
- Fix misleading "logging disabled" banner shown before API responds
- Fix en.json translation for numeric validation message
This commit is contained in:
RedwindA
2026-03-21 20:40:39 +08:00
parent e904579a5b
commit dcd0911612
5 changed files with 44 additions and 20 deletions
@@ -408,7 +408,7 @@ export default function SettingsPerformance(props) {
)}
style={{ marginBottom: 16 }}
/>
{logInfo && logInfo.enabled ? (
{logInfo === null ? null : logInfo.enabled ? (
<>
<Descriptions
data={[