khenriks / mp3fs

FUSE-based transcoding filesystem from FLAC to MP3
http://khenriks.github.io/mp3fs/
GNU General Public License v3.0
382 stars 46 forks source link

Debug messages in syslog #10

Closed ghost closed 7 years ago

ghost commented 11 years ago

I could not find any settings to avoid getting debug message from "readdir" and "getattr" for each file access in syslog. My temp fix is to comment out the mp3fs_debug(...). Don't know if there is something I missed, or this is wanted - but I'd like to be able to disable it :)

khenriks commented 11 years ago

This is actually intended to be configurable in the system log daemon. The destination of all syslog messages is configured in the configuration file for the syslog daemon. For example if you use rsyslog and don't want messages from mp3fs to end up in the syslog I think you can use

:programname, isequal, "mp3fs" ~

somewhere near the top of the rules in the configuration file.

ghost commented 11 years ago

Yes, I get that with the syslog and destination. It's more a question to downsize the amount of log since debug-message can not be turned of by configuration.

joho500 commented 11 years ago

I second that. mp3fs sends a lot of messages to the log file. Would be nice and better to be able to select the log level.

arthurlutz commented 9 years ago

+1 one on this issue.