Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » prevent FORTE from tracing to syslog(FORTE fills syslog with lots of trace entries)
prevent FORTE from tracing to syslog [message #1733150] Tue, 24 May 2016 08:24 Go to next message
Eclipse UserFriend
Hi,

i have compiled FORTE for Raspberry Pi (Raspbian Jessie) target with LOGERROR flag instead of LOGDEBUG (which is the CMAKE default setting). FORTE is started as a systemd service at startup. As soon as I deploy an application, FORTE starts to trace every event to syslog (and to daemon.log due to the systemd configuration), which fills up my SD card completely in couple of hours.
Is there a way to prevent this continuous tracing and just trace out if an error happens?

thanks
Herwig
Re: prevent FORTE from tracing to syslog [message #1733155 is a reply to message #1733150] Tue, 24 May 2016 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Yes you can disable the flag FORTE_TRACE_EVENTS in CMake. You can find it in the advanced section.

In the latest FORTE source code this flag is disabled alreay per default. However if you have an old cmake configuration the old value is persisted.

Alois
Re: prevent FORTE from tracing to syslog [message #1733158 is a reply to message #1733155] Tue, 24 May 2016 09:34 Go to previous message
Eclipse UserFriend
Hi Alois,

thanks, found it!
I have attached a screenshot indicating the settings when using CMAKE GUI.

greetings
Herwig
Previous Topic:MQTT issues with FORTE running on Raspberry Pi
Next Topic:SubApp Error
Goto Forum:
  


Current Time: Wed Jul 23 06:34:47 EDT 2025

Powered by FUDForum. Page generated in 0.08684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top