-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
FLAGS=none has no effect on log flags #8856
Labels
Comments
Damn. The problem lies here: Lines 53 to 64 in 0109229
Which interacts with lines 44-46 here: Lines 37 to 53 in 0109229
Flags should be returned as -1 if none. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
I'm trying to prevent gitea from adding data/time/etc log flags to its console output. This is becuase the console output is automatically sent to syslog when using systemd to start gitea, and syslog adds its own date/time stamps.
This should be doable by setting
log.console.FLAGS
tonone
according to the config cheat sheet. However, settinglog.console.FLAGS
tonone
as no effect and console logs are still shown with the defaultstdflags
stuff. Settinglog.console.FLAGS
to other values seem to work though (for examplelevel
ordate
work as expected).Relevant config:
Example output on syslog:
The text was updated successfully, but these errors were encountered: