[jbosstools-issues] [JBoss JIRA] (JBDS-2016) JBDS generates (lots of) DEBUG statements to stdout

Denis Golovin (JIRA) jira-events at lists.jboss.org
Thu May 3 14:32:18 EDT 2012


    [ https://issues.jboss.org/browse/JBDS-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689736#comment-12689736 ] 

Denis Golovin edited comment on JBDS-2016 at 5/3/12 2:31 PM:
-------------------------------------------------------------

the reason is 
(1) org.slf4.api, 
(2)ch.qos.logback.slf4j, 
(3)ch.qos.logback.classic, 
(4)ch.qos.logback.core. 

1,3,4 are plugins 2 is fragment for 1. This fragment adds 3 and 4 as a dependency for 1.

2,3,4 can be easily deleted from target platform and there are no compilation errors after it, but  problems start at runtime when org.slf4j.api doesn't get activated because of

{code}Eclipse-GenericRequire: org.slf4j.impl.StaticLoggerBinder;selection-filter=(&(version>=1.6.0)(!(version>=1.7.0))){code}

in its manifest. 2 is the only declares org.slf4j.impl.StaticLoggerBinder capability as

{code}Eclipse-GenericCapability: org.slf4j.impl.StaticLoggerBinder; version="1.6.1"{code}

Solution could be optional plugin that declares capability org.slf4j.impl.StaticLoggerBinder and binds it to NOPLoggerFactory to suppress stdout output.
                
      was (Author: dgolovin):
    the reason is 
(1) org.slf4.api, 
(2)ch.qos.logback.slf4j, 
(3)ch.qos.logback.classic, 
(4)ch.qos.logback.core. 

1,3,4 are plugins 2 is fragment for 1. This fragment adds 3 and 4 as a dependency for 1.

2,3,4 can be easily deleted from target platform and there are no compilation errors after it, but  problems start at runtime when org.slf4j.api doesn't get activated because of

{code}Eclipse-GenericRequire: org.slf4j.impl.StaticLoggerBinder;selection-filter=(&(version>=1.6.0)(!(version>=1.7.0))){code}

in its manifest. 2 is the only declares org.slf4j.impl.StaticLoggerBinder capability as

{code}Eclipse-GenericCapability: org.slf4j.impl.StaticLoggerBinder; version="1.6.1"{code}

Solution could be optional plugin that declares capability capability and binds it to NOPLoggerFactory to suppress stdout output.
                  
> JBDS generates (lots of) DEBUG statements to stdout
> ---------------------------------------------------
>
>                 Key: JBDS-2016
>                 URL: https://issues.jboss.org/browse/JBDS-2016
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: maven
>    Affects Versions: 5.0.0.Beta1
>         Environment: Version: 5.0.0.Beta1
> Build id: v20120214-0757-H1665-Beta1
> Build date: 20120214-0757
>            Reporter: Len DiMaggio
>            Assignee: Len DiMaggio
>             Fix For: 5.0.0.Beta3
>
>
> For example, when starting Version: 5.0.0.Beta1
> Build id: v20120214-0757-H1665-Beta1
> Build date: 20120214-0757
> These messages are written:
> ./jbdevstudio
> 17:06:51.662 [Worker-9] DEBUG o.e.m.c.i.p.r.ProjectRegistryRefreshJob - Queued refresh request: [/org.jboss.tools.community.project.examples/pom.xml, /org.jboss.tools.esb.ui.bot.test/pom.xml, /org.jboss.tools.ui.bot.ext/pom.xml]
> 17:06:52.716 [Worker-1] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - Refreshing: [/org.jboss.tools.community.project.examples/pom.xml, /org.jboss.tools.esb.ui.bot.test/pom.xml, /org.jboss.tools.ui.bot.ext/pom.xml]
> 17:06:53.834 [Worker-1] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - Refreshed: [/org.jboss.tools.community.project.examples/pom.xml, /org.jboss.tools.esb.ui.bot.test/pom.xml, /org.jboss.tools.ui.bot.ext/pom.xml]
> 17:06:56.336 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: jboss-releases-repository|https://repository.jboss.org/nexus/content/repositories/releases/
> 17:06:56.647 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:06:57.760 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /nexus/content/repositories/releases/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x4b2fbba9, /10.11.9.120:43378 => repository.jboss.org/10.5.105.13:443]
> 17:06:58.272 [New I/O client worker #1-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /nexus/content/repositories/releases/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Date: Thu, 16 Feb 2012 22:06:58 GMT
> Server: Apache
> Last-Modified: Mon, 30 Jan 2012 17:07:33 GMT
> ETag: "1e4fdcd-ab-4b7c1e1e07f40"
> Accept-Ranges: bytes
> Content-Length: 171
> Age: 118
> Keep-Alive: timeout=2, max=128
> Connection: Keep-Alive
> Content-Type: text/plain; charset=UTF-8
> 17:06:58.274 [New I/O client worker #1-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: https://repository.jboss.org:443 for channel [id: 0x4b2fbba9, /10.11.9.120:43378 => repository.jboss.org/10.5.105.13:443]
> 17:06:59.580 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updated index for repository: jboss-releases-repository|https://repository.jboss.org/nexus/content/repositories/releases/ in 3243 ms
> 17:06:59.580 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: JBOSS_NEXUS|http://repository.jboss.org/nexus/content/groups/public
> 17:06:59.609 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:06:59.722 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x60eb7206, /10.11.9.120:45635 => repository.jboss.org/10.5.105.13:80]
> 17:06:59.956 [New I/O client worker #2-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Date: Thu, 16 Feb 2012 22:06:59 GMT
> Server: Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V4
> Content-Type: text/plain; charset=UTF-8
> Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept
> Last-Modified: Mon, 30 Jan 2012 19:04:06 GMT
> ETag: "5ee4f28690e47d79ffd4e8a6fe3c6311598d69f4"
> Content-Length: 253
> Set-Cookie: JSESSIONID=d8c2e460-2586-47b2-9084-5b744fcf26ef; Path=/nexus; HttpOnly
> Set-Cookie: rememberMe=deleteMe; Path=/nexus; Max-Age=0; Expires=Wed, 15-Feb-2012 22:06:59 GMT
> Keep-Alive: timeout=2, max=128
> Connection: Keep-Alive
> 17:06:59.958 [New I/O client worker #2-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: http://repository.jboss.org:80 for channel [id: 0x60eb7206, /10.11.9.120:45635 => repository.jboss.org/10.5.105.13:80]
> 17:07:00.942 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updated index for repository: JBOSS_NEXUS|http://repository.jboss.org/nexus/content/groups/public in 1362 ms
> 17:07:00.943 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: JBOSS_NEXUS|http://repository.jboss.org/nexus/content/groups/public
> 17:07:00.943 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:07:01.054 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x7e41cef1, /10.11.9.120:45636 => repository.jboss.org/10.5.105.13:80]
> 17:07:01.170 [New I/O client worker #3-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Date: Thu, 16 Feb 2012 22:07:01 GMT
> Server: Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V4
> Content-Type: text/plain; charset=UTF-8
> Last-Modified: Mon, 30 Jan 2012 19:04:06 GMT
> ETag: "5ee4f28690e47d79ffd4e8a6fe3c6311598d69f4"
> Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept
> Content-Length: 253
> Set-Cookie: JSESSIONID=a2ad3bac-ad59-48e9-8ee0-4a6a2b023e2c; Path=/nexus; HttpOnly
> Set-Cookie: rememberMe=deleteMe; Path=/nexus; Max-Age=0; Expires=Wed, 15-Feb-2012 22:07:01 GMT
> Keep-Alive: timeout=2, max=128
> Connection: Keep-Alive
> 17:07:01.171 [New I/O client worker #3-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: http://repository.jboss.org:80 for channel [id: 0x7e41cef1, /10.11.9.120:45636 => repository.jboss.org/10.5.105.13:80]
> 17:07:01.173 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updated index for repository: JBOSS_NEXUS|http://repository.jboss.org/nexus/content/groups/public in 230 ms
> 17:07:01.173 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: jboss-releases-repository|https://repository.jboss.org/nexus/content/repositories/releases/
> 17:07:01.174 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:07:01.284 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /nexus/content/repositories/releases/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x383ef56b, /10.11.9.120:43382 => repository.jboss.org/10.5.105.13:443]
> 17:07:01.776 [New I/O client worker #4-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /nexus/content/repositories/releases/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Date: Thu, 16 Feb 2012 22:07:01 GMT
> Server: Apache
> Last-Modified: Mon, 30 Jan 2012 17:07:33 GMT
> ETag: "1e4fdcd-ab-4b7c1e1e07f40"
> Accept-Ranges: bytes
> Content-Length: 171
> Age: 977
> Keep-Alive: timeout=2, max=128
> Connection: Keep-Alive
> Content-Type: text/plain; charset=UTF-8
> 17:07:01.777 [New I/O client worker #4-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: https://repository.jboss.org:443 for channel [id: 0x383ef56b, /10.11.9.120:43382 => repository.jboss.org/10.5.105.13:443]
> 17:07:01.783 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - No index update available for repository: jboss-releases-repository|https://repository.jboss.org/nexus/content/repositories/releases/
> 17:07:01.784 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: jboss-public-repository-group|http://repository.jboss.org/nexus/content/groups/public/
> 17:07:01.909 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:07:02.022 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x654924fb, /10.11.9.120:45639 => repository.jboss.org/10.5.105.13:80]
> 17:07:02.159 [New I/O client worker #5-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /nexus/content/groups/public/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repository.jboss.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Date: Thu, 16 Feb 2012 22:07:02 GMT
> Server: Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V4
> Content-Type: text/plain; charset=UTF-8
> Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept
> Content-Length: 253
> Last-Modified: Mon, 30 Jan 2012 19:04:06 GMT
> ETag: "5ee4f28690e47d79ffd4e8a6fe3c6311598d69f4"
> Set-Cookie: JSESSIONID=71b10861-258a-431b-9951-f5ae8375508f; Path=/nexus; HttpOnly
> Set-Cookie: rememberMe=deleteMe; Path=/nexus; Max-Age=0; Expires=Wed, 15-Feb-2012 22:07:02 GMT
> Keep-Alive: timeout=2, max=128
> Connection: Keep-Alive
> 17:07:02.160 [New I/O client worker #5-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: http://repository.jboss.org:80 for channel [id: 0x654924fb, /10.11.9.120:45639 => repository.jboss.org/10.5.105.13:80]
> 17:07:03.063 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updated index for repository: jboss-public-repository-group|http://repository.jboss.org/nexus/content/groups/public/ in 1280 ms
> 17:07:03.063 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updating index for repository: central|http://repo1.maven.org/maven2
> 17:07:03.106 [Worker-9] DEBUG c.n.http.client.RequestBuilderBase - setUrl hasn't been invoked. Using http://localhost
> 17:07:03.191 [Worker-9] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /maven2/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repo1.maven.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x38aa594b, /192.168.1.8:48121 => repo1.maven.org/207.223.241.90:80]
> 17:07:03.236 [New I/O client worker #6-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /maven2/.index/nexus-maven-repository-index.properties HTTP/1.1
> Host: repo1.maven.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 302 Moved Temporarily
> Server: nginx/1.0.1
> Date: Thu, 16 Feb 2012 22:07:03 GMT
> Content-Type: text/html
> Content-Length: 160
> Connection: keep-alive
> Location: http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties
> 17:07:03.237 [New I/O client worker #6-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Redirecting to http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties
> 17:07:03.278 [New I/O client worker #6-1] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Non cached request 
> DefaultHttpRequest(chunked: false)
> GET /pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties HTTP/1.1
> Host: mirrors.ibiblio.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> using Channel 
> [id: 0x71400fad]
> 17:07:03.371 [New I/O client worker #6-2] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - 
> Request DefaultHttpRequest(chunked: false)
> GET /pub/mirrors/maven2/dot-index/nexus-maven-repository-index.properties HTTP/1.1
> Host: mirrors.ibiblio.org
> Accept-Encoding: gzip
> Connection: keep-alive
> Accept: */*
> User-Agent: m2e/3.7.2.v20120110-1415/1.0.200.20111228-1245
> Response DefaultHttpResponse(chunked: false)
> HTTP/1.1 200 OK
> Content-Type: application/octet-stream
> Accept-Ranges: bytes
> ETag: "4193230580"
> Last-Modified: Thu, 16 Feb 2012 09:26:32 GMT
> Content-Length: 1097
> Date: Thu, 16 Feb 2012 22:07:03 GMT
> Server: lighttpd/1.4.26
> 17:07:03.372 [New I/O client worker #6-2] DEBUG c.n.h.c.p.n.NettyAsyncHttpProvider - Adding uri: http://mirrors.ibiblio.org:80 for channel [id: 0x71400fad, /192.168.1.8:51516 => mirrors.ibiblio.org/152.19.134.44:80]
> 17:07:07.562 [Worker-9] INFO  o.e.m.c.i.i.nexus.NexusIndexManager - Updated index for repository: central|http://repo1.maven.org/maven2 in 4499 ms

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list