Skip to content

Configure Startup logging #13464

Closed
Closed
@bjoe2k4

Description

@bjoe2k4
  • Gitea version (or commit ref): gitea 1.12.5-1

  • Git version: 2.29.2, Wire Protocol Version 2 Enabled

  • Operating system: Archlinux x86_64 with the

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
  • Log gist:

Description

No matter how i configure [log] gitea always prints the following lines to console/systemd journal. I cannot even change anything (disable color, flags, etc...)

Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 cmd/web.go:107:runWeb() [I] Starting Gitea on PID: 10129
Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 ...dules/setting/git.go:93:newGit() [I] Git Version: 2.29.2, Wire Protocol Version 2 Enabled
Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 routers/init.go:118:GlobalInit() [T] AppPath: /usr/bin/gitea
Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 routers/init.go:119:GlobalInit() [T] AppWorkPath: /app/git/gitea-private
Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 routers/init.go:120:GlobalInit() [T] Custom path: /app/git/gitea-private/custom
Nov 07 23:12:34 gitea[10129]: 2020/11/07 23:12:34 routers/init.go:121:GlobalInit() [T] Log path: /var/log/gitea-private
[log]
MODE = file
LEVEL = Critical

...

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions