numbers missing, aieee

bill davidsen davidsen at tmr.com
Tue Sep 26 16:57:09 UTC 2000


In article <20000917160422T.kondou at inn.do.mms.mt.nec.co.jp> you write:

| I've upgraded latest 2.4 from 2.3 to show incoming volume.  And
| I see the same problem you said.  This breaks outgoing volume
| stats, and incoming volume is also incorrect. I cannot find any
| difference between 2.3 and 2.4 in complilation environment.
| 
| } What I've settled on doing is sprintf()'ing the STATS_MSG format into
| } a buffer, and then syslogging that buffer.  That works fine, as it
| } should.
| 
| I'm thinking of using this way.  Anyone knows others?

  For portability and reliability I never pass anything to syslog but
strings. Above is a pretty ugly example of how bad things can get, but
other more subtle errors exist in syslog.
-- 
bill davidsen <davidsen at tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.



More information about the inn-workers mailing list