Heh, I fixed this once my Pebble started working again yesterday, just hadn't committed it yet:

<pre>
		timestamp, level, msgsize, linenumber = unpack("!Ibbh", data[:8])
		filename, = unpack("!16s", data[8:24])
		message, = unpack("!"+str(msgsize)+"s", data[24:24+msgsize])

		filename = filename.replace("\x00", "")
		message = message.replace("\x00", "")
</pre>