Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0 prints gigabytes of debug output #71

Open
honza-kasik opened this issue Apr 13, 2022 · 1 comment
Open

Version 2.0 prints gigabytes of debug output #71

honza-kasik opened this issue Apr 13, 2022 · 1 comment

Comments

@honza-kasik
Copy link

Steps to reproduce:

  1. Download offliner 2.0 from https://repo.maven.apache.org/maven2/com/redhat/red/offliner/offliner/2.0/offliner-2.0.jar
  2. Run with
java -jar offliner.jar \
  --repo-url "$SOURCE_REPO_URL" \
  --dir "$MAVEN_REPO_DIR_NAME" \
  "$MAVEN_REPO_CHECKSUMS_FILE_NAME"
  1. Observe

Expected outcome: I get INFO level log

Actual outcome: I get DEBUG level log. e.g.:

10:51:08.624 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom HTTP/1.1
10:51:08.624 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED
10:51:08.625 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-1 >> GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom HTTP/1.1
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-1 >> Host: download.devel.redhat.com
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-1 >> Connection: Keep-Alive
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.5.9 (Java/1.8.0_311)
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-1 >> Accept-Encoding: gzip,deflate
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom HTTP/1.1[\r][\n]"
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "Host: download.devel.redhat.com[\r][\n]"
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]"
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.5.9 (Java/1.8.0_311)[\r][\n]"
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
10:51:08.626 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 >> "[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connection established 10.0.135.188:46342<->10.0.14.183:80
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: set socket timeout to 600000
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom HTTP/1.1
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-0 >> GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom HTTP/1.1
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: download.devel.redhat.com
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.9 (Java/1.8.0_311)
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "GET /brewroot/repos/jb-eap-7.4-maven-build/latest/maven/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom HTTP/1.1[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: download.devel.redhat.com[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.9 (Java/1.8.0_311)[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
10:51:08.627 [download--/com/fasterxml/jackson/jackson-base/2.12.1.redhat-00001/jackson-base-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
10:51:08.629 [download--/com/fasterxml/jackson/dataformat/jackson-dataformats-text/2.12.1.redhat-00001/jackson-dataformats-text-2.12.1.redhat-00001.pom] DEBUG org.apache.http.wire - http-outgoing-1 << "HTTP/1.1 302 Found[\r][\n]"

@yma96
Copy link
Contributor

yma96 commented Apr 18, 2022

Fixed in #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants