-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
Description
Expected Behaviour
Providing a log object to the constructor should ensure I have control over all the log output.
Actual Behaviour
Extra log messages are logged from other adobe dependencies, e.g. https://github.com/adobe/node-httptransfer/blob/master/lib/randomfileaccess.js#L160
Platform and Version
"@adobe/aem-upload": "2.0.3"
Sample Code that illustrates the problem
import AemUploader from "@adobe/aem-upload";
const binaryUploader = new AemUploader.DirectBinaryUpload({
log: {
debug: (...theArguments) => undefined,
info: (...theArguments) => undefined,
warn: (...theArguments) =>
console.info.apply(null, theArguments),
error: (...theArguments) =>
console.warn.apply(null, theArguments),
}
});
binaryUploader.uploadFiles(...)Logs taken while reproducing problem
Server accepts ranges for this transfer asset: true
1 transfer parts created (multipart target)
Transferred content range: [object Object]
Source has protocol 'file'
Getting file handle for reading file ...
Reactions are currently unavailable