BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Dependent dataport logs #85

Open betterapp opened 1 year ago

betterapp commented 1 year ago

I have 2 dataports. One run second.

In second dataport I do not have access to any logs. Why ? Status is not linked to log.

image

BlackbitDevs commented 1 year ago

This is caused by a feature named "intalligent logging":

For dataport runs which do not get started from Pimcore backend (e.g. cronjob runs, REST API, event-triggered dataport runs) the logger watches for errors (but also buffers less severe errors) - only if an error occurs, the buffered logs get written. When the run finishes successfully without any errors, warnings, notices, no log file will get saved. This reduces the amount of disk space for the log files and thus makes very frequent applications possible like real world website user facing REST API interfaces.

You can prevent this by calling the dependent dataport with -f flag. Then the logs will be kept.