-
Notifications
You must be signed in to change notification settings - Fork 25
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
Eclipse 2022-06 #82
Comments
Sorry, but can you share any other details that can help me reproduce it? How does it manifest? I have it installed and working on 2022-06 (official release) on Mac, Windows 11 and Linux (Debian and Ubuntu). Thank you, |
I think I know what you mean. |
Might be the same as #79 ? |
This is a Java project. The problem arises as I run junit test. <Appenders> As I said before, this plugin works perfectly on Eclipse 2022-03 |
I believe you that it does not work. ===
To me that sounds like the plugin is not even installed? If you go to "About Eclipse", "Installation Details", is "Ansi Console" listed in the first tab ("Installed software")? Or, is there a difference in your Eclipse installs that you can think of? === I've created a small maven project that logs using log4j and with your exact configuration And works for me (in 2022-06), on Mac, Windows, and Linux. You can find that project here: https://mihai-nita.net/tmp/junit_log_err.zip Can you please import it and try it? === If you create a small project (Java, or C/C++) and try to print |
Hey Mihnita, |
This is a Java project.
The problem arises as I run junit test.
Console shows escape sequences but not colors.
As I said, Ansi console does not appear at Preferences.
Next, I include xml log4j piece of code used to show colors:
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout disableAnsi="false" pattern="%highlight{%d{HH:mm:ss.SSS} [%thread] %-5level %c{1.} - %msg%n}{FATAL=red blink, ERROR=red, WARN=yellow bold, INFO=green bold, DEBUG=white2, TRACE=cyan}" />
</Console>
</Appenders>
As I said before, this plugin works perfectly on Eclipse 2022-03
Best regards
… El 30 jun 2022, a las 8:56 a. m., Mihai Nita ***@***.***> escribió:
Might be the same as #79 <#79> ?
—
Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AANXVPPWYQVSKANA4A4YH5LVRVHLRANCNFSM52B2X7FA>.
You are receiving this because you authored the thread.
|
Sorry, I can't reproduce it. I've tried it in 2022-03, 2022-06, and 2022-09 (no plugin, with the ANSI functionality that is not in Eclipse). This is very weird:
I can't think of any way that these can't be both happen. Can you uninstall it and install it again? Here is a minimal project I've created: https://github.com/mihnita/github_features You should be able to
Then File -- Import... -- Maven -- Existing Maven Projects, select it, "Finish", and I get color logging no matter how I run it:
It is the exact appender you provided, I only had to change Trying to clarify something (not that it makes much of a difference, since I tried both 2022-03 and 2022-06)
and
but then
Do you see the enable/disable icon in the corner of the console? Here is my output (Windows, Eclipse Version: 2022-03 (4.23.0), Build id: 20220310-1457, but works the same on MacOS) |
Another idea for something to try:
This is what I get with And this is what I get with As you can see, that explicit output still works. If that is what you see, then it is something with the logging, not with the plugin. |
I have installed new eclipse 2022-06 ond my Mac and Ansi console plugin does not work any more.
It worked before using eclipse 2022-03.
The text was updated successfully, but these errors were encountered: