Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
syslog and sip api
#1
Is there any way to stop API messages from hitting the syslog.  I'm reading station status about every second or so and this is flooding the syslog...
Reply
#2
(2019 Jun 07, 08:04 PM)danny_aka_rudy Wrote: Is there any way to stop API messages from hitting the syslog.  I'm reading station status about every second or so and this is flooding the syslog...

In case anyone is curious I figured out how to stop the messages from hitting syslog...

I edited the httpserver.py file in the web subdirectory of my SIP folder and commented out the last line

#print >> outfile, utils.safestr(msg)

No more syslog messages everytime I make an API call.
Reply
#3
That's a good one and not particularly obvious.

Thanks for posting your fix.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)