Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log to file not working in 0.13 when running as service #7624

Open
1 task done
Drardollan opened this issue Dec 18, 2023 · 0 comments
Open
1 task done

Log to file not working in 0.13 when running as service #7624

Drardollan opened this issue Dec 18, 2023 · 0 comments
Labels
💊 bug Something isn't working

Comments

@Drardollan
Copy link

Gogs version

0.13

Git version

2.34.1

Operating system

Ubuntu 22.04

Database

MariaDB

Describe the bug

After upgrading from 0.12.11 to 0.13 the log to file stopped working when started in service mode. Logs are written to the syslog. When I run Gogs commandline (./gogs web) logs are created as expected.

Log config:
[log] MODE = file LEVEL = Info ROOT_PATH = /tmp/gogs/log

To reproduce

service gogs start -> no logs
./gogs web -> logs are created

Expected behavior

Logs be written to disk in separate file

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Drardollan Drardollan added the 💊 bug Something isn't working label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant