-
1. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
robby.cornelissen May 14, 2013 6:55 AM (in response to rhare2)1 of 1 people found this helpfulThe 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). Most terminal/console applications know how to interpret these, so that you get nice colorized log output. Apparently, Eclipse's console does not...
-
2. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
rhare2 May 14, 2013 10:27 AM (in response to robby.cornelissen)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.
-
4. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
maxandersen May 14, 2013 10:56 AM (in response to jaikiran)FYI: If you use the EAP 6.1 server adapter we explicitly disable these to avoid this problem.
-
5. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
rhare2 May 23, 2013 7:31 PM (in response to maxandersen)Hi Max,
Max Rydahl Andersen wrote:
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,
-
6. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
damiox Jun 25, 2013 10:38 PM (in response to maxandersen)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
-
7. Re: Logging pattern in EAP 6.1.0 Beta causes junk in console in eclipse
omur.ozbahceliler Nov 21, 2014 7:56 AM (in response to damiox)Hello,
Removing "%K{level}" from the logging pattern in my domain.xml file resolved the colour problem. Thanks!