We developed a small server program that run on a DJI Phantom that runs Openwrt. 16KB shared mem ringbuffer is used. This is the first time we write a Openwrt software and use syslog to log debug info of the program. We read a post http://www.phantompilots.com/viewtopic. … mp;t=13496, http://www.rcgroups.com/forums/showpost … count=6497 claimed that it is easy to overflow a OPENWRT log file system and implied that the OPENWRT log file system has bugs. We wonder if there is a safe way to log the program info without using syslog.
The post is long and here is the statment that :
3. Every time when I use the app, it keeps generating /var/log/xxx.vpu.dat files (0-4kB) and occupying very limited internal storage of the aircraft. Imagine, what will happen when a PC running out/low of disk space. Firmware upgrade or basically anything might crash in low storage condition, who knows.
The app may not create those files explicitly, but likely a harmful side product to the aircraft.
(Last edited by rctaco on 26 Aug 2014, 10:14)
