[erlang-questions] what is the format of disk_log
Robert Raschke
rtrlists@REDACTED
Fri Mar 14 12:53:25 CET 2014
Hi Solomon,
I assume you've read http://www.erlang.org/doc/man/disk_log.html , and that
you're trying to read a log written in internal format.
In that case, you'll want to verify how the log is written by the disk_log
code. As the documentation states it is repairable, my guess is that it is
probably binary terms with additional housekeeping. I had a quick peek at
the code and, unfortunately, it doesn't look easy to figure out the exact
format. It is binary terms, but the housekeeping values elude me. :-(
With external format, it's up to the logger to define the format. Thus much
easier to handle.
Sorry, can't be of more help.
Regards,
Robby
On Mar 14, 2014 10:21 AM, "Solomon" <solomon.wzs@REDACTED> wrote:
> Hi,
>
> I want to read the disk_log by C, but I don't know the format of disk_log.
> Is there any documents about this?
>
> Thanks.
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140314/e4419adf/attachment.htm>
More information about the erlang-questions
mailing list