Macaron logs are output to console instead of to file as configured #2253

Closed
opened 2025-11-02 04:29:36 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @lukasbestle on GitHub (Aug 26, 2018).

Description

I have configured Gitea to write its logs to file (see the Gist I linked to above). However the Macaron logs are still output to console even though I'd expect them to be output to the logs/http.log file.

Please let me know if you need any further information

Originally created by @lukasbestle on GitHub (Aug 26, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.5.0 - Git version: 2.18.0 - Operating system: macOS 10.11 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - [x] No access to the logs - Log and config gist: https://gist.github.com/lukasbestle/ee3aa793ce1223b5aa92a9aca1818b17 ## Description I have configured Gitea to write its logs to file (see the Gist I linked to above). However the Macaron logs are still output to console even though I'd expect them to be output to the `logs/http.log` file. Please let me know if you need any further information
GiteaMirror added the type/bug label 2025-11-02 04:29:36 -06:00
Author
Owner

@lunny commented on GitHub (Nov 7, 2018):

Is this a upstream macaron problem?

@lunny commented on GitHub (Nov 7, 2018): Is this a upstream macaron problem?
Author
Owner

@lukasbestle commented on GitHub (Nov 7, 2018):

I’m not comfortable enough with the Gitea codebase, but given that the logging options are Gitea options and there is no related issue in the Macaron repo, I’d say it’s probably an issue in Gitea itself.

Can you reproduce the issue on your machine?

@lukasbestle commented on GitHub (Nov 7, 2018): I’m not comfortable enough with the Gitea codebase, but given that the logging options are Gitea options and there is [no related issue in the Macaron repo](https://github.com/go-macaron/macaron/issues), I’d say it’s probably an issue in Gitea itself. Can you reproduce the issue on your machine?
Author
Owner

@lafriks commented on GitHub (Nov 7, 2018):

I think this option depends on environment setting for macrond (development or production)

@lafriks commented on GitHub (Nov 7, 2018): I think this option depends on environment setting for macrond (development or production)
Author
Owner

@stale[bot] commented on GitHub (Jan 6, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 6, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lukasbestle commented on GitHub (Jan 6, 2019):

Ping

@lukasbestle commented on GitHub (Jan 6, 2019): Ping
Author
Owner

@lunny commented on GitHub (Jan 9, 2019):

should be fixed by #5667 ?

@lunny commented on GitHub (Jan 9, 2019): should be fixed by #5667 ?
Author
Owner

@lukasbestle commented on GitHub (Jan 9, 2019):

Looks like it goes into a similar direction, thanks! Closing this.

@lukasbestle commented on GitHub (Jan 9, 2019): Looks like it goes into a similar direction, thanks! Closing this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2253