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

Jorge commented on NETBEANS-3326:
---------------------------------

*The problem is related to the date and time pattern string of the Log4j 
Console Appender date conversion specifier*. If the pattern contains colons 
then the console's output window doesn't show the messages. After changing it 
from %d\{yy-MM-dd-HH:mm:ss,SSS} to %d\{yy-MM-dd-HH.mm.ss,SSS} I can see the 
messages in the output window. This is true for both Log4j 1x and 2x.

> log4j messages missing in GlassFish server log
> ----------------------------------------------
>
>                 Key: NETBEANS-3326
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3326
>             Project: NetBeans
>          Issue Type: Bug
>          Components: serverplugins - GlassFish
>    Affects Versions: 11.1, 11.2
>         Environment: Windows 10
>            Reporter: Jorge
>            Priority: Minor
>         Attachments: log4j.properties, logging.properties
>
>
> I have a web application running in GlassFish 5.1.0. The application uses 
> log4j. Messages are properly written to GlassFish's *server.log* file and 
> also to a log4j rolling file appender. But I cannot see those messages in the 
> Output window opened using *View Domain Server Log*. I can see them in that 
> window of a NetBeans 8.2 that is running concurrently.
> I'm attaching the *log4j.properties* and *logging.properties* file; as you 
> might recall, logging.properties is supplied as part of GF. I have not 
> modified it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to