where is log file

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
makdaddy
Posts: 5
Joined: 03 Apr 2014, 01:31

where is log file

#1 Post by makdaddy »

I understand that there should be a log file in the testdisk folder. Is it possible that this is not created even when you select create new log file?
is there a command that i can enter before lauching to create a log file?

# testdisk log ddmmyytestdisk.log

??

Ben

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: where is log file

#2 Post by cgrenier »

testdisk.log file is created in the current working directory when you start TestDisk and choose "Create" or if you run "testdisk /log".

makdaddy
Posts: 5
Joined: 03 Apr 2014, 01:31

Re: where is log file

#3 Post by makdaddy »

yes i am expecting to see that but why is it not there?

Thank you for your assistance on this issue
Im running 10.7.5 terminal app

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: where is log file

#4 Post by cgrenier »

If TestDisk failed to create it, it display a warning. As you didn't report this warning message, the log file should be here...

makdaddy
Posts: 5
Joined: 03 Apr 2014, 01:31

Re: where is log file

#5 Post by makdaddy »

yes I understand what you are saying. Is this a hidden file?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: where is log file

#6 Post by cgrenier »

No, it's not an hidden file.

pieropingi
Posts: 1
Joined: 08 Jun 2017, 19:22

Re: where is log file

#7 Post by pieropingi »

Windows: if you did a link to start testdisk (or photorec) in a cmd.exe window, you have to check the working dir in the link properties. In my case it was %windir%. Log file will be there.

Locked