Home/Support/Support Forum/How do I configure syslog?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do I configure syslog?

0 votes
I am using the ConnectME with NetOS 7.1.
I would like to publish trace messages to syslog and capture them with a syslog viewer. I can't figure out how to set that up. I have used the CLI commands:

settrace state=on syslog=on loghost=ipaddr mode=concurrent
settrace state=on mode=concurrent mask=User1:debug

I set trace_syslog_enabled=1 in trace.c.
I put a call to trace in my code. I don't know which trace_id to use (I'm currently using USER1_TRACE and TRACE_DEBUG, I've also tried SYSTEM_TRACE).

Yes, I have been using the udpdb feature. The problem I have is that my application crashes, but I don't get any trace output just before the crash. My theory is that the udp polling cannot catch the data just before the crash. So I'd like to publish the messages directly to the receiver instead of relying on polls.
asked Oct 29, 2009 in NET+OS by ralphes_2000 New to the Community (0 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

...