If you need to output a request per file and you can not modify the vendor folder, you can extend in your own module the standard Csvfile class:
<?php namespace Vendor\Module\Output; class Csvfile extends \Magento\Framework\Profiler\Driver\Standard\Output\Csvfile { /** * Parses file path * * @param array|null $config * @return string */ protected function _parseFilePath(array $config = null) { $result = parent::_parseFilePath($config); return str_replace('.csv', "-".date('Ymd-His')."-".uniqid('', true).".csv", $result); } }
Then you can launch the profiler with:
php bin\magento dev:profiler:enable "\\Vendor\\Module\\Output\\Csvfile"
Now the profiler will output each request in a different var/log/profile-yyyymmdd-hhmmss-rand.csv file.