Thought this was an interesting idea. http://www.dt.fee.unicamp.br/~acalmon/arquivos/COMPUMAG2007_Log_Paper.pdf