You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "David Stutzman (Jira)" <ji...@apache.org> on 2020/03/11 11:13:00 UTC

[jira] [Comment Edited] (NETBEANS-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

    [ https://issues.apache.org/jira/browse/NETBEANS-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056870#comment-17056870 ] 

David Stutzman edited comment on NETBEANS-3042 at 3/11/20, 11:12 AM:
---------------------------------------------------------------------

This is still an issue with newly released 11.3.

Netbeans 10 console output, running Payara 5.194, using SLF4J-JDK14 logging implementation:

Info: INFO message

Severe: ERROR meesage

Warning: WARN message

Using logback implementation gives me the expected output with all the logback formatting but ever message is pre-pended with "Info: "

 

Netbeans 11.3 console output, running Payara 5.194, using SLF4J-JDK14 logging implementation:

INFO message|#]

ERROR meesage|#]

WARN message|#]

Netbeans 11.3 console output, running Payara 5.194, using logback logging implementation:

|#]

|#]

|#]

Again, in addition to my application generated logs all ending in #|], *every* line in the netbeans output window has that line. Clearly something changed between 10 and 11 in the parsing of logs from Payara and it's a regression.  The version of Payara used doesn't change anything, it's strictly going from NB 10 -> 11 where the break happens.

 


was (Author: dstutz):
This is still an issue with newly released 11.3.

Netbeans 10 console output, running Payara 5.194, using SLF4J-JDK14 logging implementation:

Info: INFO message

Severe: ERROR meesage

Warning: WARN message

> can't see loggers (log4j2) created from apps deployed on Payara servers
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-3042
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3042
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Logger
>    Affects Versions: 11.0, 11.1, 11.2, 11.3
>         Environment: Windows 10, jdk 1.8
>            Reporter: jose luis romero
>            Priority: Major
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't work
> [stackPost|[https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425]]
> https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists