Page 1 of 1

Missing option disable write log file in CLI

Posted: Sun Jun 05, 2022 8:39 pm
by tuanden0
When I disabled "Enable Info Log" and using DGIndexNV tool to create *.dgi index file, it did not generate *.log file.
But when I using CLI to generate "DGIndexNV -i input.mkv -o output.dgi -e -h" it will write the *.log file together with dgi file.

I wtore the program that pre-calculate the avs filtering to use and write it to *.log file but when I generate dgi index file, it overrided my pre-calculate log file because it used same name file.

Could you please add the option (param) for DGIndexNV CLI to disable write log?

Missing option disable write log file in CLI

Posted: Sun Jun 05, 2022 8:49 pm
by Bullwinkle
Hi, welcome.

So we're fighting over who owns the name *.log. You can have it and fight with some other app, because Moose will change the log file name to something like

DGNV_*.log

Then it will never collide with anything else.

Thank you for your report.

Missing option disable write log file in CLI

Posted: Mon Jun 06, 2022 6:48 pm
by Rocky
That's not gonna work good if full paths are enabled.

How about we save as *.dglog?

Or better yet, tuanden0, can't you just use a different extension?

Missing option disable write log file in CLI

Posted: Mon Jun 06, 2022 10:13 pm
by tuanden0
Rocky wrote:
Mon Jun 06, 2022 6:48 pm
That's not gonna work good if full paths are enabled.

How about we save as *.dglog?

Or better yet, tuanden0, can't you just use a different extension?
Thank you, I will change to another extension in my program.

But Why dont you guys provide a param to disable write *.log file when using CLI?

Missing option disable write log file in CLI

Posted: Tue Jun 07, 2022 9:12 am
by Rocky
We used to follow the setting of the 'Enable Info Log' option in the INI file to control this in CLI. But I had a few people ask for it to be unconditional, as it is now. Hard to please everyone!

Generally, I try to minimize proliferation of options, not only because my time is limited, but also to avoid cluttering and additional maintenance work.