We have an application on Linux that used the syslog mechanism. After a week spent trying to figure out why this application was running slower than expected, we discovered tha
Write your own syslog implementation. :-P
This can be accomplished in two ways.
LD_PRELOAD
hook to override the syslog functions, and make them output to stderr
instead. I actually wrote a post about this many years ago: http://marc.info/?m=97175526803720 :-P/dev/log
! :-POkay, okay, so these are both facetious answers. Have you profiled syslogd
to see where it's choking up most?