openruko/apiserver — pull request #10 by Filirom1 (2012-11-22 16:36:58+00:00)
Title: use uuid format for better compatibility with heroku/logplex uuid

For better compatibility with Heroku/Logplex we could change our generate_uuid function.

Logplex use uuids like this one :

a532a9e0-5263-42d8-8a32-87dccc3b1cd0.

And curently, we generate uuid like this one :

a532a9e0526342d88a3287dccc3b1cd0.

We could use the same format.

Moreover, it fix an issue with OpenRuko/Logplex that [wants an uuid of 36 chars](https://github.com/openruko/logplex/blob/master/logplex/udpserver.js#L21) on one side, and compare it with generated uuids of 32 chars