Saving logs of operation

Started by Jom, March 26, 2020, 11:13:55 PM

Previous topic - Next topic

Jom

Hi Phil
Is it possible to save operation logs to a text file?
Now I'm manually copying the contents of the Windows console to a text file for later error analysis.

obetz

See https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout

Jom

Thans, Oliver.

exiftool -title -ext jpg . > log.log

I see output only in file.
But I need see output both in console and in file.

Phil Harvey

You can either "tail" the output file, or duplicate the pipe.  Both ways are possible on Mac/Linux, but you'll have to figure out how to do this in Windows.

- 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 ($).

Jom

The main thing for me is to understand where to look for the answer.
So this is not an Exiftool functionality (it doesn't make sense, because the system can do it), but a system functionality?
I've never needed this, so I don't know where to look for the answer.

obetz

in addition to "tail" being also available for Windows, one can also open the output file with a text editor with automatic reload of modified files.

PsPad is rather versatile.