Reflect Log Files Do Not Contain Texty


Author
Message
ozadacheno
ozadacheno
New Member
New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)
Group: Forum Members
Posts: 13, Visits: 24
Just noticed that the Macrium Reflect backup logs do not contain any text when opened with Windows Notepad.
Going back, this began on August 23, 2016 when I installed the 6.2.1502 update. 
Am presently on 6.2.1549
Windows 7, SP1

Drac144
Drac144
Expert
Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)Expert (628 reputation)
Group: Forum Members
Posts: 397, Visits: 1.4K
Have you tried using Wordpad?  What happens when you view the logs from within Reflect?  Notepad will not display (at lease by default) many characters such as those in the upper 128 of the ASCII set. 
ozadacheno
ozadacheno
New Member
New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)
Group: Forum Members
Posts: 13, Visits: 24

No text is displayed in Wordpad.  And, Notepad has always shown text (mixed text) in all logs prior to August 23rd. 


Stephen
Stephen
Macrium Representative
Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)Macrium Representative (1K reputation)
Group: Administrators
Posts: 405, Visits: 4.3K
Hi ozadacheno,

As Drac144 has asked, are you able to read the logs in Reflect under the logs tab?

http://forum.macrium.com/uploads/images/a0c90b86-5532-4685-b063-a329.png



Kind regards

Stephen - Macrium Support


Edited 31 October 2016 10:35 AM by Stephen
ozadacheno
ozadacheno
New Member
New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)
Group: Forum Members
Posts: 13, Visits: 24
Yes, they are readable there. 
I hadn't even noticed the "Log" tab.  Thank you for pointing it out.





telushealth
telushealth
New Member
New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)New Member (3 reputation)
Group: Forum Members
Posts: 2, Visits: 19
This sounds like same issue we have seen since updating to V6...the txt format log is created but zero bytes...empty! The same vbscript/job ran just fine on the very same machine...and created the  txt format log files as expected while still using V5 . It broke with the uprgade to V6.   The system is at V6.2.1549. We have also confirmed this is a problem on two other systems, on  Win 8.1 Pro as well as Win 10 Pro...so it does not appear to be OS platform specific ..but V6 specific. 
larktdl
larktdl
New Member
New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)
Group: Forum Members
Posts: 1, Visits: 5
Since installing v6.2 (workstation edition), the vbs code that creates the log file within the vbs backup function no longer works.
' Log to file
    strLogFileName = "<file path>\logs\log-" & Year(Date) & "-" & Month(Date) & "-" & Day(Date) & " " & Hour(Time) & "." & Minute(Time) & "." & Second(Time) & ".txt"
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Set objNewFile = objFS.OpenTextFile(strLogFileName , 8, 1)
    Do Until objExecObject.StdOut.AtEndOfStream
        strLine = objExecObject.StdOut.ReadLine()
        If Instr(strLine , "%") = 0 Then
            objNewFile.WriteLine strLine
        end if
    Loop

    objNewFile.Close
    set objFS = nothing

What is odd .... In previous versions of MR, if you click on a xml file and select the option to create a VBS template file, the template
includes the code for the creation of a text log file.  In version 6.2 the template no longer includes the log file section of code.

I am hopeful that Macrium Reflect support can provide a fix and/or recommend a solution asap as my company uses the log file to report the status of a backup.
Needless to say that this functionality is mission critical.

plugger
plugger
New Member
New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)
Group: Forum Members
Posts: 25, Visits: 49
As of today, Tue 10/17/2017, Reflect V7 is creating log files of zero length.
This is not a major nuisance, though it would be nice to be able to get the files into an editor, e.g. to extract portions of the file for posting in this forum.
(And what's with this gimmick, anyway?  Is it intentional, or did a programmer forget to load a field in the file descriptor?)


jphughan
jphughan
Most Valuable Professional
Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)Most Valuable Professional (4.9K reputation)
Group: Forum Members
Posts: 3.4K, Visits: 25K
plugger - 17 October 2017 9:04 PM
As of today, Tue 10/17/2017, Reflect V7 is creating log files of zero length.
This is not a major nuisance, though it would be nice to be able to get the files into an editor, e.g. to extract portions of the file for posting in this forum.
(And what's with this gimmick, anyway?  Is it intentional, or did a programmer forget to load a field in the file descriptor?)


When you open the Reflect GUI and check the Logs tab, do you see an item for the job that ran that simply has no content, or is there no log item at all?  Have you tried running your definition file without using your batch file just to isolate variables?

And if you ever need to paste anything into the forum, if you view the log from the Reflect GUI, the main viewer pane is just an HTML viewer, so you can right-click anywhere in the main content window of a log file, click Select All, right-click again, click Copy, and paste it anywhere you wish -- or you can right-click the content window, select Print, and print to PDF if you have such an application.  The log files themselves are actually stored as HTML documents in C:\ProgramData\Macrium\Reflect, albeit with user-unfriendly naming, although Macrium replied to my Wish List thread about this saying they're going to work on adding an obvious "Export Log" option to the interface to facilitate uploads and such.

Edited 17 October 2017 9:22 PM by jphughan
plugger
plugger
New Member
New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)
Group: Forum Members
Posts: 25, Visits: 49
Yes, the Reflect viewer sees the 0-byte files' contents.
Thanks for your advice on copying from the Reflect viewer, which works.
This 0-byte gimmick is too cute.  In my 45 years of programming, from 1962, I welded into my DNA the rule "Don't get cute".  Maybe it's some kind of licensing or security scheme to protect the logs.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search