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_method syslog not working with metalog #44

Closed
Massimo-B opened this issue Jun 21, 2024 · 3 comments
Closed

log_method syslog not working with metalog #44

Massimo-B opened this issue Jun 21, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@Massimo-B
Copy link

Coming from hvisage/metalog#32 ...

Setting log_method to syslog doesn't log anything to metalog:

# grep log /etc/fangfrisch.conf 
log_level = DEBUG
log_method = syslog

Removing the log_method and falling back to "console", the logging to STDOUT works as expected.

Gentoo Linux 23.0
app-antivirus/fangfrisch-1.9.0
app-antivirus/clamav-1.2.2
dev-lang/python-3.12.3-r1
app-admin/metalog-20230719

@Massimo-B Massimo-B changed the title log_method syslog not working log_method syslog not working with metalog Jun 21, 2024
@rseichter
Copy link
Owner

Quoting from my own fangfrisch.conf (production server):

[DEFAULT]
log_level = DEBUG
log_method = syslog
log_target = /dev/log

This works as expected, in this specific case in combination with syslog-ng version 4.6.0. I have never used Metalog myself.

@rseichter
Copy link
Owner

By the way: The description "doesn't log anything to metalog" is not enough to go on, unsurprisingly. You may already have guessed that, but I wanted to be clear that I won't be able to investigate based on what little information you have provided so far.

@rseichter rseichter added the question Further information is requested label Jun 21, 2024
@rseichter rseichter self-assigned this Jun 21, 2024
@rseichter
Copy link
Owner

Let's stick with the original metalog issue for the time being. No need to keep two separate tickets open.

@rseichter rseichter closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants