Shop OBEX P1 Docs P2 Docs Learn Events
SYSLOG - Log information/debug to SD card / Serial port — Parallax Forums

SYSLOG - Log information/debug to SD card / Serial port

Alex.StanfieldAlex.Stanfield Posts: 198
edited 2012-05-15 12:54 in Propeller 1
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 :tongue: )

Suggestions and constructive criticism are welcome. :nerd:

Hope you enjoy it.

Alex
Sign In or Register to comment.