Discussion:
[jboss-user] [JBoss Tools] - Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
Robby Cornelissen
2013-05-14 10:55:46 UTC
Permalink
Robby Cornelissen [https://community.jboss.org/people/robby.cornelissen] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/817606#817606

--------------------------------------------------------------
The characters that you refer to as junk are in fact ANSI escape sequences that contain color codes ( http://en.wikipedia.org/wiki/ANSI_escape_code#Colors http://en.wikipedia.org/wiki/ANSI_escape_code#Colors). Most terminal/console applications know how to interpret these, so that you get nice colorized log output. Apparently, Eclipse's console does not...
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817606#817606]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Rob Hare
2013-05-14 14:27:24 UTC
Permalink
Rob Hare [https://community.jboss.org/people/rhare2] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/817659#817659

--------------------------------------------------------------
Robby, Thanks for pointing out what the characters are. 

I will still stick with my original comment.  It shouldn't be in the configuration by default, particularly if one of the most popular development tools doesn't deal with it.  Do other people see this same behavior or is it something I have configured oddly in Eclipse?  I just looked at the console settings and don't see any type of setting that says handle ANSI escape sequences, but I have a hard time believing this hasn't been an issue for someone before.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817659#817659]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
jaikiran pai
2013-05-14 14:33:39 UTC
Permalink
jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/817661#817661

--------------------------------------------------------------
https://bugzilla.redhat.com/show_bug.cgi?id=909479 https://bugzilla.redhat.com/show_bug.cgi?id=909479
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817661#817661]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-05-14 14:56:47 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/817667#817667

--------------------------------------------------------------
FYI: If you use the EAP 6.1 server adapter we explicitly disable these to avoid this problem.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817667#817667]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Rob Hare
2013-05-23 23:31:30 UTC
Permalink
Rob Hare [https://community.jboss.org/people/rhare2] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/819196#819196

--------------------------------------------------------------
Hi Max,
Post by Max Rydahl Andersen
FYI: If you use the EAP 6.1 server adapter we explicitly disable these to avoid this problem.
I have the following adapter installed in Eclipse.
|     JBossAS Tools Server Adapter | 2.4.1.Final-v20130327-0617-B80 | org.jboss.ide.eclipse.as.serverAdapter.wtp.feature.feature.group | null |
and my server in Eclipse is configured as Jboss Enterprise Application Server 6.1 (Tech Preview).

Do I need to do anything else since I was still seeing the ascii color codes?

Thanks,
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/819196#819196]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Damian Nardelli
2013-06-26 02:38:50 UTC
Permalink
Damian Nardelli [https://community.jboss.org/people/damiox] created the discussion

"Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse"

To view the discussion, visit: https://community.jboss.org/message/824892#824892

--------------------------------------------------------------
Hello guys,

I had the same issue. I fixed it by removing the %K{level} from the logging pattern (thanks Robby!).
I'm using the JBoss EAP 6.1 Runtime server in my Eclipse Juno...

Thanks,
Damian
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/824892#824892]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...