Log File is a binary file?

Questions about Cobian Reflector
Post Reply
krump
Posts: 9
Joined: 28 Feb 2022, 23:42

Log File is a binary file?

Post by krump »

Like in Subjest, look:
Image

And the file:
Image

And the file size after big backup (5,3TB):
Image
Image
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Log File is a binary file?

Post by cobian »

The log file is a unicode-encoded text file.
--
Luis Cobian
Cobian Backup's creator
krump
Posts: 9
Joined: 28 Feb 2022, 23:42

Re: Log File is a binary file?

Post by krump »

Yup its true I was convert it using iconv do utf8. The size is a half of orignal file, isn't better use utf8?
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Log File is a binary file?

Post by cobian »

UTF16 is much more convenient for parsing (and the standard for Windows API). UTF8 is more popular in the unix world and more size efficient, but harder to parse... different things.
--
Luis Cobian
Cobian Backup's creator
krump
Posts: 9
Joined: 28 Feb 2022, 23:42

Re: Log File is a binary file?

Post by krump »

Windows, can't open a UTF16 file. Editors was crashing. That's reason why I use UTF8 and linux
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Log File is a binary file?

Post by cobian »

Notepad can as far as I know...
--
Luis Cobian
Cobian Backup's creator
krump
Posts: 9
Joined: 28 Feb 2022, 23:42

Re: Log File is a binary file?

Post by krump »

Notepad crashed to with tis 2GB file.
Vscode try to open it after approve more memory, but after few second of seeing file crash to.
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Log File is a binary file?

Post by cobian »

Yes, there could be some application limitations. Notepad++ has no such limitations because it uses mapped memory, I think.
--
Luis Cobian
Cobian Backup's creator
Graham
Posts: 41
Joined: 14 Oct 2021, 13:10

Re: Log File is a binary file?

Post by Graham »

krump wrote: 05 Mar 2022, 21:25 Notepad crashed to with tis 2GB file.
There is no reason why CR will produce a log file that is 2GB in size. Something has gone wrong.

What size is the log file if you run the backup again? The log file should be much smaller.
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Log File is a binary file?

Post by cobian »

I think the Debug option must be activated.
--
Luis Cobian
Cobian Backup's creator
Post Reply