Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
Description
The code looks about like this:
public void transferInitiated( TransferEvent transferEvent )
{ String message = transferEvent.getRequestType() == TransferEvent.REQUEST_PUT ? "Uploading" : "Downloading"; String url = transferEvent.getWagon().getRepository().getUrl(); // TODO: can't use getLogger() because this isn't currently instantiated as a component System.out.println( message + ": " + url + "/" + transferEvent.getResource().getName() ); }Not sure why Log instance cannot be obtained here, but this really messes up any code that would need to filter STDOUT.