RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
No, there are 2 separate applications.  The logs were generated on Windows and 
viewed on Windows and also generated on Linux and viewed on Linux.

Mary


-Original Message-
From: Gary Gregory [mailto:garydgreg...@gmail.com] 
Sent: Thursday, March 24, 2016 3:37 PM
To: Log4J Users List 
Subject: RE: question

Are you generating logs on windows and viewing them on linux or vice versa?

Gary
On Mar 24, 2016 9:55 AM, "Helm, Mary (MCS Release)" 
wrote:

> Yes, an extra empty (or blank) line is appearing between the log 
> statements written by the application code - not by the system itself 
> though.  Anything in the log from JBOSS itself is showing as single-spaced.
>
> Thanks,
> Mary
>
>
> -Original Message-
> From: Remko Popma [mailto:remko.po...@gmail.com]
> Sent: Thursday, March 24, 2016 12:46 PM
> To: Log4J Users List 
> Subject: Re: question
>
> Mary, I recommend you raise a Jira ticket for this.
> I don't know about the other Log4j community members, but I currently 
> don't have time to look into this and without a Jira ticket it may 
> quickly drop below my mailbox horizon...
>
> Also, perhaps this is because I'm not a native English speaker, but 
> with "double-spaced" you mean there's an extra empty line between log 
> statements, right?
>
>
> On Fri, Mar 25, 2016 at 1:35 AM, Helm, Mary (MCS Release) < 
> mary.h...@hpe.com
> > wrote:
>
> > Further investigation shows this happens when running on Windows - 
> > not Linux.  The logs are single-spaced on Linux but double-spaced on 
> > Windows using this log4j2.xml
> >
> > 
> > 
> > 
> > 
> > %d [%10.10t] %-5.5p %30.30c{2} - %m%n
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Thanks,
> > Mary
> >
> > -Original Message-
> > From: Helm, Mary (MCS Release)
> > Sent: Thursday, February 18, 2016 11:51 AM
> > To: log4j-user@logging.apache.org
> > Subject: question
> >
> > We have noticed this behavior on app servers running either JBOSS 
> > EAP
> > 6.4 or Wildfly 9.0.1 Final.
> >
> >
> >
> > We are using the Console appender within our log4j2.xml file for our 
> > web-app and we are seeing that any log4j2 messages written to the 
> > log are formatted as double-spaced. Removing the "%n" from our 
> > log4j2.xml pattern results in the log4j2 messages appearing on a single 
> > line.
> >
> > Is there a way to single space all the information that is logged in 
> > the same file?  We do want both the JBOSS and application messages 
> > in the same server.log file.
> >
> >
> >
> > Mary T. Helm
> > Services Information Developer IV, CEM/JAVA SME Medicare Part  B 
> > Shared System Claims Processing Maintenance Medicare Systems High 
> > Maturity Group an SEI CMMI Level 5 Organization Hewlett Packard 
> > Enterprise Telephone +1
> > 717.547.7791 Email mary.h...@hpe.com
> > 1250 Camp Hill Bypass  MS 1-400
> > Camp Hill, PA 17011
> > CONFIDENTIALITY NOTICE: This e-mail message, including any 
> > attachments, is for the sole use of the intended recipient's) and 
> > may contain HP Internal or HP Confidential information. Any 
> > unauthorized review, use, disclosure or distribution is prohibited. 
> > If you are not the intended recipient, please contact the sender by 
> > reply e-mail and destroy all copies of the original message.
> >
> >
> > 
> > - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> > For additional commands, e-mail: log4j-user-h...@logging.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



RE: question

2016-03-24 Thread Gary Gregory
Are you generating logs on windows and viewing them on linux or vice versa?

Gary
On Mar 24, 2016 9:55 AM, "Helm, Mary (MCS Release)" 
wrote:

> Yes, an extra empty (or blank) line is appearing between the log
> statements written by the application code - not by the system itself
> though.  Anything in the log from JBOSS itself is showing as single-spaced.
>
> Thanks,
> Mary
>
>
> -Original Message-
> From: Remko Popma [mailto:remko.po...@gmail.com]
> Sent: Thursday, March 24, 2016 12:46 PM
> To: Log4J Users List 
> Subject: Re: question
>
> Mary, I recommend you raise a Jira ticket for this.
> I don't know about the other Log4j community members, but I currently
> don't have time to look into this and without a Jira ticket it may quickly
> drop below my mailbox horizon...
>
> Also, perhaps this is because I'm not a native English speaker, but with
> "double-spaced" you mean there's an extra empty line between log
> statements, right?
>
>
> On Fri, Mar 25, 2016 at 1:35 AM, Helm, Mary (MCS Release) <
> mary.h...@hpe.com
> > wrote:
>
> > Further investigation shows this happens when running on Windows - not
> > Linux.  The logs are single-spaced on Linux but double-spaced on
> > Windows using this log4j2.xml
> >
> > 
> > 
> > 
> > 
> > %d [%10.10t] %-5.5p %30.30c{2} - %m%n
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Thanks,
> > Mary
> >
> > -Original Message-
> > From: Helm, Mary (MCS Release)
> > Sent: Thursday, February 18, 2016 11:51 AM
> > To: log4j-user@logging.apache.org
> > Subject: question
> >
> > We have noticed this behavior on app servers running either JBOSS EAP
> > 6.4 or Wildfly 9.0.1 Final.
> >
> >
> >
> > We are using the Console appender within our log4j2.xml file for our
> > web-app and we are seeing that any log4j2 messages written to the log
> > are formatted as double-spaced. Removing the "%n" from our log4j2.xml
> > pattern results in the log4j2 messages appearing on a single line.
> >
> > Is there a way to single space all the information that is logged in
> > the same file?  We do want both the JBOSS and application messages in
> > the same server.log file.
> >
> >
> >
> > Mary T. Helm
> > Services Information Developer IV, CEM/JAVA SME Medicare Part  B
> > Shared System Claims Processing Maintenance Medicare Systems High
> > Maturity Group an SEI CMMI Level 5 Organization Hewlett Packard
> > Enterprise Telephone +1
> > 717.547.7791 Email mary.h...@hpe.com
> > 1250 Camp Hill Bypass  MS 1-400
> > Camp Hill, PA 17011
> > CONFIDENTIALITY NOTICE: This e-mail message, including any
> > attachments, is for the sole use of the intended recipient's) and may
> > contain HP Internal or HP Confidential information. Any unauthorized
> > review, use, disclosure or distribution is prohibited. If you are not
> > the intended recipient, please contact the sender by reply e-mail and
> > destroy all copies of the original message.
> >
> >
> > -
> > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> > For additional commands, e-mail: log4j-user-h...@logging.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>


RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
Yes, an extra empty (or blank) line is appearing between the log statements 
written by the application code - not by the system itself though.  Anything in 
the log from JBOSS itself is showing as single-spaced. 

Thanks,
Mary


-Original Message-
From: Remko Popma [mailto:remko.po...@gmail.com] 
Sent: Thursday, March 24, 2016 12:46 PM
To: Log4J Users List 
Subject: Re: question

Mary, I recommend you raise a Jira ticket for this.
I don't know about the other Log4j community members, but I currently don't 
have time to look into this and without a Jira ticket it may quickly drop below 
my mailbox horizon...

Also, perhaps this is because I'm not a native English speaker, but with 
"double-spaced" you mean there's an extra empty line between log statements, 
right?


On Fri, Mar 25, 2016 at 1:35 AM, Helm, Mary (MCS Release)  wrote:

> Further investigation shows this happens when running on Windows - not 
> Linux.  The logs are single-spaced on Linux but double-spaced on 
> Windows using this log4j2.xml
>
> 
> 
> 
> 
> %d [%10.10t] %-5.5p %30.30c{2} - %m%n
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Thanks,
> Mary
>
> -Original Message-
> From: Helm, Mary (MCS Release)
> Sent: Thursday, February 18, 2016 11:51 AM
> To: log4j-user@logging.apache.org
> Subject: question
>
> We have noticed this behavior on app servers running either JBOSS EAP 
> 6.4 or Wildfly 9.0.1 Final.
>
>
>
> We are using the Console appender within our log4j2.xml file for our 
> web-app and we are seeing that any log4j2 messages written to the log 
> are formatted as double-spaced. Removing the "%n" from our log4j2.xml 
> pattern results in the log4j2 messages appearing on a single line.
>
> Is there a way to single space all the information that is logged in 
> the same file?  We do want both the JBOSS and application messages in 
> the same server.log file.
>
>
>
> Mary T. Helm
> Services Information Developer IV, CEM/JAVA SME Medicare Part  B 
> Shared System Claims Processing Maintenance Medicare Systems High 
> Maturity Group an SEI CMMI Level 5 Organization Hewlett Packard 
> Enterprise Telephone +1
> 717.547.7791 Email mary.h...@hpe.com
> 1250 Camp Hill Bypass  MS 1-400
> Camp Hill, PA 17011
> CONFIDENTIALITY NOTICE: This e-mail message, including any 
> attachments, is for the sole use of the intended recipient's) and may 
> contain HP Internal or HP Confidential information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not 
> the intended recipient, please contact the sender by reply e-mail and 
> destroy all copies of the original message.
>
>
> -
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



Re: question

2016-03-24 Thread Remko Popma
Mary, I recommend you raise a Jira ticket for this.
I don't know about the other Log4j community members, but I currently don't
have time to look into this and without a Jira ticket it may quickly drop
below my mailbox horizon...

Also, perhaps this is because I'm not a native English speaker, but with
"double-spaced" you mean there's an extra empty line between log
statements, right?


On Fri, Mar 25, 2016 at 1:35 AM, Helm, Mary (MCS Release)  wrote:

> Further investigation shows this happens when running on Windows - not
> Linux.  The logs are single-spaced on Linux but double-spaced on Windows
> using this log4j2.xml
>
> 
> 
> 
> 
> %d [%10.10t] %-5.5p %30.30c{2} - %m%n
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Thanks,
> Mary
>
> -Original Message-
> From: Helm, Mary (MCS Release)
> Sent: Thursday, February 18, 2016 11:51 AM
> To: log4j-user@logging.apache.org
> Subject: question
>
> We have noticed this behavior on app servers running either JBOSS EAP 6.4
> or Wildfly 9.0.1 Final.
>
>
>
> We are using the Console appender within our log4j2.xml file for our
> web-app and we are seeing that any log4j2 messages written to the log are
> formatted as double-spaced. Removing the "%n" from our log4j2.xml pattern
> results in the log4j2 messages appearing on a single line.
>
> Is there a way to single space all the information that is logged in the
> same file?  We do want both the JBOSS and application messages in the same
> server.log file.
>
>
>
> Mary T. Helm
> Services Information Developer IV, CEM/JAVA SME Medicare Part  B Shared
> System Claims Processing Maintenance Medicare Systems High Maturity Group
> an SEI CMMI Level 5 Organization Hewlett Packard Enterprise Telephone +1
> 717.547.7791 Email mary.h...@hpe.com
> 1250 Camp Hill Bypass  MS 1-400
> Camp Hill, PA 17011
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient's) and may contain HP Internal
> or HP Confidential information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>
>
> -
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>


RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
Further investigation shows this happens when running on Windows - not Linux.  
The logs are single-spaced on Linux but double-spaced on Windows using this 
log4j2.xml





%d [%10.10t] %-5.5p %30.30c{2} - %m%n











Thanks,
Mary

-Original Message-
From: Helm, Mary (MCS Release) 
Sent: Thursday, February 18, 2016 11:51 AM
To: log4j-user@logging.apache.org
Subject: question

We have noticed this behavior on app servers running either JBOSS EAP 6.4 or 
Wildfly 9.0.1 Final.



We are using the Console appender within our log4j2.xml file for our web-app 
and we are seeing that any log4j2 messages written to the log are formatted as 
double-spaced. Removing the "%n" from our log4j2.xml pattern results in the 
log4j2 messages appearing on a single line.

Is there a way to single space all the information that is logged in the same 
file?  We do want both the JBOSS and application messages in the same 
server.log file.



Mary T. Helm
Services Information Developer IV, CEM/JAVA SME Medicare Part  B Shared System 
Claims Processing Maintenance Medicare Systems High Maturity Group an SEI CMMI 
Level 5 Organization Hewlett Packard Enterprise Telephone +1 717.547.7791 Email 
mary.h...@hpe.com
1250 Camp Hill Bypass  MS 1-400
Camp Hill, PA 17011
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient's) and may contain HP Internal or HP 
Confidential information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.


-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



JMSAppender

2016-03-24 Thread Mike Tod
Has anyone been able to get the JMSAppender working on Log4j2?

If so do you have any example config?

Below is my config file :



  


  


   
  
%d{HH:mm:ss.SSS} %-5level %c{1.} %M:%L - %msg%xEx%n
  




  
  

  
  


  



I keep getting the following errors.

2016-03-24 07:24:03,159 main ERROR Error creating JmsManager using 
ConnectionFactory [ConnectionFactory] and Destination [jmsTest].
2016-03-24 07:24:03,161 main ERROR Unable to inject fields into builder class 
for plugin type class org.apache.logging.log4j.core.appender.mom.JmsAppender, 
element JMSQueue.
2016-03-24 07:24:03,161 main ERROR Unable to invoke factory method in class 
class org.apache.logging.log4j.core.appender.mom.JmsAppender for element 
JMSQueue.
2016-03-24 07:24:03,162 main ERROR Null object returned for JMSQueue in 
Appenders.
2016-03-24 07:24:03,168 main ERROR Unable to locate appender "jmsQueue" for 
logger config "root"

Thanks

Mike


This communication and any files transmitted with it may contain information 
that is considered to be confidential, privileged and exempt from disclosure 
under applicable law. This message is intended for Foundation 
Medicine-affiliated use and that of the intended recipient only and may contain 
information that is protected by Foundation Medicine policies and the HIPAA 
Privacy Rule, 45 CFR ยง 164.500. This communication is intended solely for the 
use of intended recipient. If you are not the intended recipient, you are 
hereby notified that any use, dissemination or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
notify the sender immediately and delete this message immediately. Thank you 
for your cooperation.