Log output to file

Have an idea how to make KryoFlux even better? Let us know...
Post Reply
Darkstar
Posts: 72
Joined: Thu Nov 04, 2010 7:58 pm

Log output to file

Post by Darkstar » Thu Nov 04, 2010 8:02 pm

Hi,

I think it would be nice if there was an option to DTC that logged the dumping output to a file (as well as any switches that were used to invoke dtc.exe).
That way one could later compare if, for example, different drives are able to read disks better than others

-Darkstar

User avatar
mr.vince
Posts: 2120
Joined: Tue Oct 05, 2010 5:48 pm

Re: Log output to file

Post by mr.vince » Thu Nov 04, 2010 8:45 pm

Since it's a command line tool that is intended to work with a GUI, all output can be redirected pretty easily:

DTC.exe -fdiskname.adf -i5 1>>log.txt 2>>error.txt

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

Re: Log output to file

Post by karadoc » Thu Nov 04, 2010 10:58 pm

Alternatively you can log to the same file, by using:

DTC.exe -fdiskname.adf -i5 1>>log.txt 2>>&1

User avatar
mr.vince
Posts: 2120
Joined: Tue Oct 05, 2010 5:48 pm

Re: Log output to file

Post by mr.vince » Fri Nov 05, 2010 12:02 am

True. Although I'd recommend keeping them separate so you can decide if it's a warning or an error.

gizmomelb
Posts: 12
Joined: Sat Nov 20, 2010 8:00 am

Re: Log output to file

Post by gizmomelb » Sat Dec 04, 2010 9:53 am

so there'll be a check box in the DTC GUI to log all output to a text file then please?

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

Re: Log output to file

Post by karadoc » Sun Jan 09, 2011 11:53 pm

Yep, it's on the list. If it doesn't make the next version, it will be the one after.

User avatar
mr.vince
Posts: 2120
Joined: Tue Oct 05, 2010 5:48 pm

Re: Log output to file

Post by mr.vince » Mon Jan 10, 2011 12:25 pm

For the moment, why not log the Java output? "It's easy!" (tm):

java -jar kryoflux-ui.jar 1>log.txt 2>&1

Post Reply