Api command line log file is not genererated

Hello;
i have a macro which run with line commande but log file is not created every time.
even the path is well given

Can you please post the command line and script that you are using here?