Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 651
    • Issues 651
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 217
    • Merge Requests 217
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12460

Closed
Open
Opened Feb 22, 2021 by PICCORO Lenz McKAY@mckaygerhard

community/gitea: config log files are wrong and uncontrolable

gite default setting are not well managed cos log file are already assumed but not managed so sometimes that log file are not created or do not append nothing

take in consideration that gitea in alpine are started from the init script and cos settings are not tuned for alpine linux rare behaviour happened

suggestions:

  1. patch the gitea sources to defaults to "file" event "console"
  2. change in the ini file the log section to:
[log]
ROOT_PATH            = /var/log/gitea
MODE                 = file
MACARON              = file
ROUTER               = file
ACCESS               = file

this is important for servers, dockers and containers.. cos that process if are started does not log anything in some cases..

NOTE and take care of closing the log file; check #12461

Edited Feb 22, 2021 by PICCORO Lenz McKAY
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12460