Skip to content

obs: icecast log volume β€” ~75% is per-metadata-update ceremony; curate before it drowns DrilldownΒ #251

Description

@genwave-radio

πŸ“ˆ Measured 2026-07-29 (Loki, demo): icecast went from ~8 lines/hour to ~650–790 lines/hour at the v2.8.6 deploy β€” i.e. the moment gh-#115/PR #222 started streaming its logs. The feature works; the volume is uncurated.

Breakdown (3h sample, 2,000 lines):

  • ~25% access-log lines β€” the valuable ones (listener connect/disconnect with duration, mount hits β€” Ship icecast access/error logs to LokiΒ #115's acceptance).
  • ~75% is one repeating 8-line ceremony per liquidsoap metadata push (~every 70s with patter cycles): admin_handle_request Β· WARN admin_enforce_unsafe (legacy source uses GET) Β· WARN command_metadata ("song" + "artist"/"title" both present) Β· 2Γ— command_metadata INFO Β· 2Γ— util_conv_string INFO Β· 2Γ— event_stream_queue INFO.

Fix options, with caveats:

  1. Alloy drop stage (genwave-infra repo) β€” drop the six ceremony patterns at ingest. βœ… Keeps 100% of access-log + listener/source visibility + real errors; cuts ~70% of volume. ⚠️ Lives in the infra repo, not here; pattern list needs maintaining if icecast wording changes on upgrade.
  2. loglevel 3β†’2 (warn) in icecast.xml.tmpl β€” ships with a release. βœ… One-line repo change. ⚠️ Loses the listener count now N INFO lines (listener visibility survives via the access log) and the 2 WARN-level ceremony lines per update remain (~40/h).
  3. Engine-side trim: send only song= (not artist/title alongside) in the ICY update from genwave.liq to silence one WARN per update. ⚠️ Micro-win only; touches the on-air metadata path for a log line.
  4. Do nothing β€” ~18k lines/day is cheap for Loki; the cost is Drilldown signal-to-noise, not storage.

Recommendation on record: option 1 first, option 2 later if the WARN residue still annoys. Decision deferred β€” fold into the gh-#153 logging audit rather than one-off. Related: #115, PR #222, #153.

Metadata

Metadata

Assignees

No one assigned

    Labels

    demoFound on GenWave demoenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions