SYSLOG - Log information/debug to SD card / Serial port
Alex.Stanfield
Posts: 198
I just uploaded to the OBEX a SYSLOG sub-system for helping in the debugging and logging under SPIN
http://obex.parallax.com/objects/864/
It provides a logging/debugging system that can store information from multiple cogs (running SPIN) into one file on a SD card, may optionally echo that information to a serial terminal.
Echo to serial port may be turned on/off at run-time.
Each cog may have it's own description in the log file for easily finding any given routine's output.
Hope it helps get those programs up and running faster.
It's at an early stage and I have some improvements planned in the near future like:
- Detecting day/week/etc changes and recycling the log file for easy auditing
- Detecting a missing SD card and better SD error handling (this still needs some debugging to become bullet proof )
Suggestions and constructive criticism are welcome. :nerd:
Hope you enjoy it.
Alex
http://obex.parallax.com/objects/864/
It provides a logging/debugging system that can store information from multiple cogs (running SPIN) into one file on a SD card, may optionally echo that information to a serial terminal.
Echo to serial port may be turned on/off at run-time.
Each cog may have it's own description in the log file for easily finding any given routine's output.
Hope it helps get those programs up and running faster.
It's at an early stage and I have some improvements planned in the near future like:
- Detecting day/week/etc changes and recycling the log file for easy auditing
- Detecting a missing SD card and better SD error handling (this still needs some debugging to become bullet proof )
Suggestions and constructive criticism are welcome. :nerd:
Hope you enjoy it.
Alex