Hello,
Nowadays, you can be more selective on the way you decide to include or exclude which files from the log analysis and storage. If you are still running LogV1 , you can use AutomaticFile= */log/*/*, Exclude.
Log Monitoring configuration file v1 | Dynatrace Docs