File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,13 +142,13 @@ def filenames(uri)
142142 # A download has failed, so check the read-only buildpack cache for the file
143143 # and use the copy there if it exists.
144144 def look_aside ( filenames , uri )
145- @logger . warn "Unable to download from #{ uri } . Looking in buildpack cache."
145+ @logger . debug "Unable to download from #{ uri } . Looking in buildpack cache."
146146 key = URI . escape ( uri , '/' )
147147 stashed = File . join ( ENV [ 'BUILDPACK_CACHE' ] , 'java-buildpack' , "#{ key } .cached" )
148148 @logger . debug { "Looking in buildpack cache for file '#{ stashed } '" }
149149 if File . exist? stashed
150150 FileUtils . cp ( stashed , filenames [ :cached ] )
151- @logger . info "Using copy of #{ uri } from buildpack cache."
151+ @logger . debug "Using copy of #{ uri } from buildpack cache."
152152 true
153153 else
154154 @logger . warn "Buildpack cache does not contain #{ uri } . Failing the download."
You can’t perform that action at this time.
0 commit comments