ZTree.com  | ZEN  | About...  

 Index   Back

[General] Is the ZLOG file format published?   [General]

By: Ben Kent       
Date: Sep 20,2022 at 21:52
In Response to: [General] Is the ZLOG file format published? (Teklek)

> For the last few years, every few months I find that Ztree will
> crash on starting while trying to load the default temp.zlog file, or
> when trying to save the same file mid-session.

I use a permanent ZLog file, which is specified on the command line, I refresh the ZLog file from time to time roughly monthly.

I have had crashes in the past, but not for some while now.

> I've never been able to figure out any pattern to it, except that if
> Ztree shows an impossibly high number of logged files in the "DISK
> Statistics" panel at any time then it's likely ZTree will crash the
> next time it's started with an existing temp.zlog file, or when saving
> same.

Here http://www.ztw3.com/forum/forum_entry.php?id=123408 is a thread, where DISK Statistics and ordinal issues where seen.

And this older thread http://www.ztw3.com/forum/forum_entry.php?id=122749 where a missing null byte was seen to be missing.

Do a Search top right for zlog and you will find a number of other posts.

Are you running the latest version? I'm running 2.4.204

> One other indicator that a possible crash is imminent is if the
> zlog file and/or Ztree's memory usage is unusually large for the number
> of logged files.

I haven't seen that, but I rarely look at the ZTree memory usage.

> If I knew the format of the zlog file then I figure I might be able to
> throw together a "repair" utility, if only as exercise for my brain.

As far as I know it's not publicly documented.

Having a look at my file, its something like this
File spec for both split windows
Information about the logged drives with the highlighted object, seems to have fixed sized storage, but with length fields, so includes junk past the length indicator
Directory with metadata
files (display name, metadata, full name)
At the end what looks like a subset of the ZTW.HST contents


Messages in this Thread

96,664 Postings in 12,235 Threads, 350 registered users, 200 users online (0 registered, 200 guests)
Index | Admin contact |   Forum Time: Jun 16, 2024 - 3:21 pm UTC  |  Hits:64,852,146  (62,206 Today )
RSS Feed