https://bugzilla.novell.com/show_bug.cgi?id=656197 https://bugzilla.novell.com/show_bug.cgi?id=656197#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com Summary|hpijs/services.cpp fills up |syslog does not filter that |log files with thousands of |hpijs/services.cpp fills up |same messages |log files with thousands of | |same messages --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2010-12-01 09:38:40 UTC --- FYI: In the HPLIP sources in /prnt/hpijs/services.cpp there is the line ------------------------------------------------------------------------------ BUG("unable to write to output, fd=%d, count=%d: %m\n", OutputPath, *Count); ------------------------------------------------------------------------------ and "BUG" is defined in prnt/hpijs/bug.h (long line wrapped here): ------------------------------------------------------------------------------ #include <syslog.h> #include <stdio.h> #define _STRINGIZE(x) #x #define STRINGIZE(x) _STRINGIZE(x) #define BUG(args...) {syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args); \ fprintf(stderr, __FILE__ " " STRINGIZE(__LINE__) ": " args);} ------------------------------------------------------------------------------ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.