News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Can I generate a log that shows all errors?

Started by ChopOMatic, July 04, 2015, 01:24:57 PM

Previous topic - Next topic

ChopOMatic

I'm processing 250,000 images in 10,000 directories, saving the output to a CSV file. No problems there in general; I have it working the way I want. As I watch the console during processing, however, I'm occasionally seeing a FILE NOT FOUND message scroll by. Is there a way to log these errors so I can go back and look at these exception files later to figure out what the problem is?

Phil Harvey

I don't know what system you are running, but most shells (except notably C-shells) allow this syntax:

COMMAND 2> errors.txt

Here, error output from COMMAND will get written to "errors.txt".

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

ChopOMatic

Thanks for the speedy reply, Phil. I'm running it from the standard command-line tool in Windows 10 preview.