-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug] Logreader warns about log_type
to be syslog
#979
Comments
Hi @Antreesy - What's your concern? It's not an error or even a warning. It's just informational. The alternative is to have nothing displayed. Context: The |
Hi @joshtrichards , thanks for the quick reply. Got this from the customer ticket, who is claiming, that it was possible to use |
No way that was possible that I can think of. Until recently (i.e. NC27) the logreader app hung when opened if syslog was configured. :) See #866. |
Though now you've got me wondering if we previously permitted a config like this:
...and logged simultaneously to both channels (file+syslog) just because the It is also possible that previously if there happened to be a |
Thanks for providing a link, I have already forgot about it, and now it returns to me 🙈 🪃 Then I'll ask for configuration, to see if that was a reason. |
So, customer used Here an excerpt from rsyslog.conf
I guess, it should work then, as before, only if there weren't any changes, that block this comfiguration? |
That really should have never worked, but here we are. Hah. Okay, at least now it makes sense. Setting their Hmm. I guess we could change the logic to something like:
...or something along those lines. This would still accomplish the main goal of the original PR, but the side effect would be we'd still load misleading old log files for people that happen to have We then also can't add a warning "may be old logs you're viewing" because that would impact people who are doing this intentionally... like this user. Another possibility might be if rsyslog supports input from pipes or, perhaps, replication from a file-based log. 🤔 Then they'd do this on their own outside the scope of NC. Bigger picture: Maybe adding a new Just brainstorming. No commitments being made here. Others will have to weigh in. |
Maybe we can even support all logging types by no longer depend on nextcloud's log but listen to |
Steps to reproduce
Expected behaviour
This is one of the defined ways to log system messages, so everything should be fine
Actual behaviour
Visible message:
Information Logreader File-based logging must be enabled to access logs from the Web UI. Your
log_typeis currently set to: [syslog]. If you feel this is an error, please verify
log_typein your config.php and check the Nextcloud Administration Manual. This is not an actual log entry.
The text was updated successfully, but these errors were encountered: