Log analystic - apache pipe error

Hi all
i tried to setup log analystics on my server.
my vhost.conf look like this:

LogFormat “%v %h %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i”” matomo
CustomLog “|/var/www/html/matomo/misc/log-analytics/import_logs.py --url=http://analytics..com
–debug --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects
–enable-static --enable-bots --config=/var/www/html/matomo/config/config.ini.php --token-auth=d614f
**************3abc3c --output=/var/log/apache2/matomo.log -” matomo

but nothing was imported to site.
i checked the output log and here is the error:

Apache error.log : AH00106: piped log program ‘/var/www/html/matomo/misc/log-analytics/import_logs.py --url=http://analytics..com --debug --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots --config=/var/www/html/matomo/config/config.ini.php --token-auth=d6*****************c3c --output=/var/log/apache2/matomo.log -’ failed
unexpectedly

matomo.log

Logs import summary

0 requests imported successfully
0 requests were downloads
0 requests ignored:
    0 HTTP errors
    0 HTTP redirects
    0 invalid log lines
    0 filtered log lines
    0 requests did not match any known site
    0 requests did not match any --hostname
    0 requests done by bots, search engines...
    0 requests to static resources (css, js, images, ico, ttf...)
    0 requests to file downloads did not match any --download-extensions