Page MenuHomeDevCentral

Reduce MediaWiki log level to "error" to minimize disk usage
ClosedPublic

Authored by dereckson on Sun, Sep 21, 14:55.
Tags
None
Referenced Files
F12059291: D3709.id9596.diff
Sun, Sep 28, 16:13
F12059236: D3709.id.diff
Sun, Sep 28, 15:58
F12054726: D3709.id.diff
Sun, Sep 28, 14:25
F12054725: D3709.id9599.diff
Sun, Sep 28, 14:25
F12054543: D3709.diff
Sun, Sep 28, 14:23
F12042033: D3709.diff
Sun, Sep 28, 10:00
F12029665: D3709.id9596.diff
Sun, Sep 28, 05:41
Unknown Object (File)
Fri, Sep 26, 01:57
Subscribers
None

Details

Summary

MediaWiki logs all levels by default (from debug to emergency), which generates
excessive noise and consumes unnecessary disk space. This change sets the log
level to "error", significantly reducing verbosity.

Reasoning:

The "warning" level is still too verbose.
For example, it logs expected cache hits and misses.

Reducing to "error" keeps logs focused on actual issues.

Initial configuration date: 2025-02-11

Test Plan

Tested on web-001 (applied during an emergency situation).

Logging was stable and concise, with only 117 lines recorded. These were all relevant:

  • Two missing thumbnails for Wolfplex wiki
  • Connection timeouts with Wikimedia Commons

Diff Detail

Repository
rSAASMW SaaS MediaWiki
Lint
Lint Not Applicable
Unit
Tests Not Applicable