Skip to content

v3.60.0

Latest

Choose a tag to compare

@arunavo4 arunavo4 released this 28 Nov 18:44

Features

  • Log level (#603, #604, thanks @zwimer). The server log showed every GitHub request and every release, issue and pull request each sync looked at, so once setup was done it ran to thousands of lines an hour and real problems got buried. LOG_LEVEL picks debug, info, warn or error. Unset, it is auto: everything for the first day after the first account is created, then info, which says what happened (syncs, mirrors, releases and files added, cleanup actions, warnings and errors) and leaves the step by step detail to debug. It is read when the app starts and never stored, so environment seeding does not apply. See Logs.

  • Time and level on every log line. Lines now start with the time in UTC and DEBUG, INFO, WARN or ERROR:

    2026-11-28T17:58:36.123Z INFO  [Scheduler] Starting scheduler service
    

    So docker logs gitea-mirror 2>&1 | grep -E ' (WARN|ERROR) ' lists the problems, and a pasted log shows when things happened. The level is colored when the log goes to a terminal. FORCE_COLOR=1 turns color on for a log viewer that shows it, NO_COLOR=1 turns it off.

Changes

  • Existing installs get a shorter log right after the upgrade. They are past their first day, so auto goes straight to info, and the log says so. Set LOG_LEVEL=debug to keep the full detail.
  • Levels match what a line says. Retries, fallbacks, interrupted jobs and repaired migrations are WARN now; they were plain lines before. Startup and shutdown steps are DEBUG, so a start and stop is 27 lines instead of 50.
  • Log lines have a new start. If something of yours reads the log and expects lines to begin with the message, it needs updating.
  • The compose files cap Docker's log for the container at three files of 10 MB. Docker keeps it forever otherwise. If you run your own compose file or docker run, the docs have the lines to add.

As always, back up your Gitea before upgrading.

Full changelog: v3.59.2...v3.60.0