[jira] [Closed] (LOG4J2-1787) Document how to exclude transitive conflicting dependencies in Maven and Gradle

2017-01-15 Thread Matt Sicker (JIRA)
abled yet. Added to master. > Document how to exclude transitive conflicting dependencies in Maven and > Gradle > --- > > Key: LOG4J2-1787 > URL: https://issues.apache.org/

Fwd: logging-log4j2 git commit: [LOG4J2-1787]: Document how to exclude transitive conflicting dependencies in Maven and Gradle

2017-01-15 Thread Matt Sicker
Oh no, it appears that I've converted the line endings to LF. -- Forwarded message -- From: Date: 15 January 2017 at 12:24 Subject: logging-log4j2 git commit: [LOG4J2-1787]: Document how to exclude transitive conflicting dependencies in Maven and Gradle To:

[jira] [Created] (LOG4J2-1787) Document how to exclude transitive conflicting dependencies in Maven and Gradle

2017-01-15 Thread Matt Sicker (JIRA)
Matt Sicker created LOG4J2-1787: --- Summary: Document how to exclude transitive conflicting dependencies in Maven and Gradle Key: LOG4J2-1787 URL: https://issues.apache.org/jira/browse/LOG4J2-1787

[jira] [Commented] (LOG4J2-1622) how to config a DailyRollingFileAppender like log4j1.x

2016-12-21 Thread Remko Popma (JIRA)
sage ${patternTime} {code} *or* as system properties {code} ${sys:patternTime} {code} > how to config a DailyRollingFileAppender like l

[jira] [Commented] (LOG4J2-1622) how to config a DailyRollingFileAppender like log4j1.x

2016-09-29 Thread Tboy (JIRA)
te a daily log file. how to config in log4j2.x. is my conofig right ? > how to config a DailyRollingFileAppender like log4j1.x > -- > > Key: LOG4J2-1622 > URL: https://issues.apache.org/jira

[jira] [Commented] (LOG4J2-1622) how to config a DailyRollingFileAppender like log4j1.x

2016-09-29 Thread Remko Popma (JIRA)
the question, or are you asking for more information? > how to config a DailyRollingFileAppender like log4j1.x > -- > > Key: LOG4J2-1622 > URL: https://issues.apache.org/jira/browse/LOG4J2-1622 >

[jira] [Updated] (LOG4J2-1622) how to config a DailyRollingFileAppender like log4j1.x

2016-09-29 Thread Remko Popma (JIRA)
} > how to config a DailyRollingFileAppender like log4j1.x > -- > > Key: LOG4J2-1622 > URL: https://issues.apache.org/jira/bro

[jira] [Created] (LOG4J2-1622) how to config a DailyRollingFileAppender like log4j1.x

2016-09-29 Thread Tboy (JIRA)
Tboy created LOG4J2-1622: Summary: how to config a DailyRollingFileAppender like log4j1.x Key: LOG4J2-1622 URL: https://issues.apache.org/jira/browse/LOG4J2-1622 Project: Log4j 2 Issue Type

Re: logging-log4j2 git commit: Document how to access snapshot dependencies

2016-09-16 Thread Mikael Ståldal
4 AM > Subject: logging-log4j2 git commit: Document how to access snapshot > dependencies > To: [email protected] > > > Repository: logging-log4j2 > Updated Branches: > refs/heads/master dd943975b -> 488f28b10 > > > Document how to access snapshot depe

Fwd: logging-log4j2 git commit: Document how to access snapshot dependencies

2016-09-16 Thread Gary Gregory
Is the plan to update this text with each release or just leave it at " 2.6.3-SNAPSHOT"? Gary -- Forwarded message -- From: Date: Fri, Sep 16, 2016 at 4:24 AM Subject: logging-log4j2 git commit: Document how to access snapshot dependencies To: comm...@logging.

[jira] [Commented] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2016-07-20 Thread Remko Popma (JIRA)
this: https://m.reddit.com/r/Clojure/comments/4rnuqr/log4j_edn_config_plugin/d575i2y?context=3 > How to include the log4j2 lib jar into a jar with my application class and > run it ? > --- > >

[jira] [Updated] (LOG4J2-1426) How to rotate logs on every server shutdown in log4j2

2016-06-13 Thread karunakaran (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] karunakaran updated LOG4J2-1426: Summary: How to rotate logs on every server shutdown in log4j2 (was: Rollover should occur when

Re: How to deploy the site

2016-05-26 Thread Matt Sicker
ing afterwards. The -p >>> option may help with that. >>> >>> Sent from my iPhone >>> >>> > On 2016/05/26, at 11:33, Ralph Goers >>> wrote: >>> > >>> > Now that we o

Re: How to deploy the site

2016-05-26 Thread Ralph Goers
ilto:[email protected]>> wrote: > > > > Now that we only have home.apache.org <http://home.apache.org/> I have no > > idea how to deploy the site for review. I can transfer the zip file via > > sftp but I have no idea how to unzip it. I am not goin

Re: How to deploy the site

2016-05-26 Thread Matt Sicker
I probably did something wrong, can't remember exactly...) >> >> Also, I had to change permissions for everything afterwards. The -p >> option may help with that. >> >> Sent from my iPhone >> >> > On 2016/05/26, at 11:33, Ralph Goers >> wrote: >

Re: How to deploy the site

2016-05-26 Thread Mikael Ståldal
obably did something wrong, can't remember exactly...) > > Also, I had to change permissions for everything afterwards. The -p option > may help with that. > > Sent from my iPhone > > > On 2016/05/26, at 11:33, Ralph Goers wrote: > > > > Now that we only hav

Re: How to deploy the site

2016-05-25 Thread Gary Gregory
at 13:12, Ralph Goers wrote: > > > > From the Infra instructions it sounds like they really don’t want us > doing this anyway. I am getting the feeling they only want us to have a few > personal pages. > > > > I suppose we could also figure out how to deploy the site t

Re: How to deploy the site

2016-05-25 Thread Remko Popma
us to have a few > personal pages. > > I suppose we could also figure out how to deploy the site to Nexus. > > Ralph > >> On May 25, 2016, at 9:02 PM, Remko Popma wrote: >> >> With sftp you can recursively copy directories with >> put -r * >&g

Re: How to deploy the site

2016-05-25 Thread Ralph Goers
From the Infra instructions it sounds like they really don’t want us doing this anyway. I am getting the feeling they only want us to have a few personal pages. I suppose we could also figure out how to deploy the site to Nexus. Ralph > On May 25, 2016, at 9:02 PM, Remko Popma wr

Re: How to deploy the site

2016-05-25 Thread Remko Popma
may help with that. Sent from my iPhone > On 2016/05/26, at 11:33, Ralph Goers wrote: > > Now that we only have home.apache.org I have no idea how to deploy the site > for review. I can transfer the zip file via sftp but I have no idea how to > unzip it. I am not going to tran

Re: How to deploy the site

2016-05-25 Thread Ralph Goers
at a time... >> >> Gary >> >> On May 25, 2016 7:33 PM, "Ralph Goers" > <mailto:[email protected]>> wrote: >> Now that we only have home.apache.org <http://home.apache.org/> I have no >> idea how to deploy the site for review. I

Re: How to deploy the site

2016-05-25 Thread Ralph Goers
le at a time... > > Gary > > On May 25, 2016 7:33 PM, "Ralph Goers" <mailto:[email protected]>> wrote: > Now that we only have home.apache.org <http://home.apache.org/> I have no > idea how to deploy the site for review. I can transfer the zip file via sft

Re: How to deploy the site

2016-05-25 Thread Gary Gregory
There is no shell access to home.a.o. I used Filezilla to preview the site for Commons CSV, painful but it works, one file at a time... Gary On May 25, 2016 7:33 PM, "Ralph Goers" wrote: > Now that we only have home.apache.org I have no idea how to deploy the > site for review

How to deploy the site

2016-05-25 Thread Ralph Goers
Now that we only have home.apache.org I have no idea how to deploy the site for review. I can transfer the zip file via sftp but I have no idea how to unzip it. I am not going to transfer all the files one by one. How did you do it Remko? Ralph

[jira] [Commented] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
the only with different expectations: http://bugs.java.com/view_bug.do?bug_id=4811930 . Anyways, I will survive now. Keep up the good work. Cheers, Keld Ølykke > How to clean up retained heap memory (synchronous) > --- > >

[jira] [Commented] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread Ralph Goers (JIRA)
a generic Message that knows how to get the object's name. We can add a warning, but every existing logging framework works this way, including java.util.logging, so it would seem most everyone already is aware of this. > How to clean up retained heap me

[jira] [Commented] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
the getLogger documentation is enough? Kind Regards, Keld Ølykke > How to clean up retained heap memory (synchronous) > --- > > Key: LOG4J2-1315 > URL: https://issues.apache.org/jira/browse/LOG4J2-1315 &

[jira] [Commented] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread Ralph Goers (JIRA)
part of the Message, not as the Logger. > How to clean up retained heap memory (synchronous) > --- > > Key: LOG4J2-1315 > URL: https://issues.apache.org/jira/browse/LOG4J2-1315 > P

[jira] [Updated] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
=> no memory leak > How to clean up retained heap memory (synchronous) > --- > > Key: LOG4J2-1315 > URL: https://issues.apache.org/jira/browse/LOG4J2-1315 > Project: Log4j 2 >

[jira] [Updated] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
=> memory leak > How to clean up retained heap memory (synchronous) > --- > > Key: LOG4J2-1315 > URL: https://issues.apache.org/jira/browse/LOG4J2-1315 > Project: Log4j 2 >

[jira] [Updated] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keld Ølykke updated LOG4J2-1315: Attachment: screenshot-2.png > How to clean up retained heap memory (synchron

[jira] [Updated] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keld Ølykke updated LOG4J2-1315: Attachment: screenshot-1.png > How to clean up retained heap memory (synchron

[jira] [Created] (LOG4J2-1315) How to clean up retained heap memory (synchronous)

2016-03-09 Thread JIRA
Keld Ølykke created LOG4J2-1315: --- Summary: How to clean up retained heap memory (synchronous) Key: LOG4J2-1315 URL: https://issues.apache.org/jira/browse/LOG4J2-1315 Project: Log4j 2 Issue

[jira] [Closed] (LOG4J2-1218) How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2.

2015-12-11 Thread Kiran Kumar Vadla (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kiran Kumar Vadla closed LOG4J2-1218. - Resolution: Fixed Thanks a lot Remko. Removing it from the pattern helped. > How

[jira] [Commented] (LOG4J2-1218) How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2.

2015-12-10 Thread Remko Popma (JIRA)
2.5. > How to remove the IP Address that is getting logged in the log messages that > are printed using log4j 2.2. > -- > > Key: LOG4J2-1218 >

[jira] [Commented] (LOG4J2-1218) How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2.

2015-12-10 Thread Remko Popma (JIRA)
iguration, but my guess is that the bit in square brackets is the thread name. You could simply omit the thread name from the pattern layout. Otherwise you can use the replace function of PatternLayout. See http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout > How to r

[jira] [Commented] (LOG4J2-1218) How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2.

2015-12-10 Thread Kiran Kumar Vadla (JIRA)
I am logging is as follows: 2015-12-10 10:56:47,217 INFO Test [http-/127.67.170.129:9443-1] example.com 1012201510245647212, Service[/test]. I would like to get IP Address suppressed from the above log message . Is there a way to do it in log4j2.2 ? > How to remove the IP Address that is

[jira] [Created] (LOG4J2-1218) How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2.

2015-12-10 Thread Kiran Kumar Vadla (JIRA)
Kiran Kumar Vadla created LOG4J2-1218: - Summary: How to remove the IP Address that is getting logged in the log messages that are printed using log4j 2.2. Key: LOG4J2-1218 URL: https://issues.apache.org/jira

[jira] [Created] (LOG4J2-1213) How to configure log4j2.xml to write JPA queries with parameters to the server console

2015-12-07 Thread Rajasekhar Reddy (JIRA)
Rajasekhar Reddy created LOG4J2-1213: Summary: How to configure log4j2.xml to write JPA queries with parameters to the server console Key: LOG4J2-1213 URL: https://issues.apache.org/jira/browse/LOG4J2-1213

[jira] [Resolved] (LOG4J2-510) How to close inactive log files

2015-11-27 Thread Ralph Goers (JIRA)
close. > How to close inactive log files > --- > > Key: LOG4J2-510 > URL: https://issues.apache.org/jira/browse/LOG4J2-510 > Project: Log4j 2 > Issue Type: Bug > Components: Appenders &g

[jira] [Closed] (LOG4J2-656) How to delete rolled over folder older than six months.

2015-09-02 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-656. -- > How to delete rolled over folder older than six mon

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-06-27 Thread Chathura Priyankara
n to the dropins directory which is the >>> OSGi container in my case. >>> >>> However when I'm running this application I'm getting following >>> exception. >>> >>> ERROR StatusLogger Log4j2 could not find a logging implementation. &

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-06-27 Thread Gary Gregory
ion. >> >> ERROR StatusLogger Log4j2 could not find a logging implementation. Please >> add log4j-core to the classpath. Using SimpleLogger to log to the console >> >> As far as I understood this error comes because log4j2 api cannot find >> the log4j-pro

[jira] [Comment Edited] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2015-06-24 Thread JIRA
tion processor is unable to detect them when only unzipping the compiled classes. Kind Regards Günther > How to include the log4j2 lib jar into a jar with my application class and > run it ? > --- > >

[jira] [Comment Edited] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2015-06-24 Thread JIRA
ssor {code} With that I got a Log4j2Plugins.dat fiel including my extension and the default ones. Kind Regards Günther > How to include the log4j2 lib jar into a jar with my application class and &

[jira] [Commented] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2015-06-24 Thread JIRA
ot a Log4j2Plugins.dat fiel including my extension and the default ones. Kind Regards Günther > How to include the log4j2 lib jar into a jar with my application class and > run it ? > --- > >

[jira] [Commented] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2015-06-22 Thread JIRA
iles and to regenerate the dat file with maven. But I did not succeed. Could you show a sample working example for it pls? Thanks in advance. Kind Regards Günther > How to include the log4j2 lib jar into a jar with my application class and &

Re: [Dev][log4j2]How to fix printing blank pair of square braces for certain patterns

2015-06-08 Thread Gary Gregory
Hi Chathura, I suppose you could use the PatternLayout's regex and replacement's feature (https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout). It does feel like a brute-force solution though. Perhaps a more elegant solution would be to have a notation in the PatternLayout tha

[Dev][log4j2]How to fix printing blank pair of square braces for certain patterns

2015-06-01 Thread Chathura Priyankara
Hi, In my log4j2 configuration file, for the pattern converters which don't have any value to print, the out put in the appender is an empty pair of square braces "[]". As an example if we have %x as a pattern converter if the log event doesn't have any log record in NDC it will print part of emp

How to do a wrapper for Log4j 2's Logger interface

2015-05-29 Thread Mikael Ståldal
I am working with a Scala wrapper for Log4j 2's Logger interface. I have some problems with the lifecycle methods entry, exit, throwing and catching. I am actually wrapping the ExtendedLogger interface (which I believe is how it should be done), and do the actual logging with its methods. But ho

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
much for the reply. >>> >>> >>> >>> On Mon, May 18, 2015 at 6:25 PM, Ralph Goers >> > wrote: >>> >>>> You shouldn't need to do this. What is different about your layout >>>> than what comes with Log4j? If yo

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
gt; >>> You shouldn't need to do this. What is different about your layout than >>> what comes with Log4j? If you simply have a custom pattern or 2 then you >>> would just implement those as converters. >>> >>> Ralph >>> >&

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Ralph Goers
what comes with Log4j? If you simply have a custom pattern or 2 then you >> would just implement those as converters. >> >> Ralph >> >> On May 18, 2015, at 5:41 AM, Chathura Priyankara > <mailto:[email protected]>> wrote: >> >>> I have

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
rters. >> >> Ralph >> >> On May 18, 2015, at 5:41 AM, Chathura Priyankara >> wrote: >> >> I have to convert a pattern layout written for log4j 1.2. to log4j2. >> Following code snippet shows a part of it. I have searched a lot about this >&g

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Ralph Goers
[email protected]>> wrote: > Can you achieve the same result with Thread context perhap? > > Gary > > > Original message > From: Chathura Priyankara <mailto:[email protected]>> > Date: 05/18/2015 07:40 (GMT-08:00) > To: Log

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Ralph Goers
e: > >> I have to convert a pattern layout written for log4j 1.2. to log4j2. >> Following code snippet shows a part of it. I have searched a lot about this >> but couldn't find a proper guide. >> Can anyone please give me a brief guide about how to do this conversion

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Gary Gregory
Original message >> From: Chathura Priyankara >> Date: 05/18/2015 07:40 (GMT-08:00) >> To: Log4J Developers List >> Subject: Re: [Dev][log4j2] How to create custom pattern layout in log4j2 >> >> Hi Ralph, >> >> There are s

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
- Original message > From: Chathura Priyankara > Date: 05/18/2015 07:40 (GMT-08:00) > To: Log4J Developers List > Subject: Re: [Dev][log4j2] How to create custom pattern layout in log4j2 > > Hi Ralph, > > There are some custom information that I need to log. P

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Gary Gregory
Can you achieve the same result with Thread context perhap?  Gary  Original message From: Chathura Priyankara Date: 05/18/2015 07:40 (GMT-08:00) To: Log4J Developers List Subject: Re: [Dev][log4j2] How to create custom pattern layout in log4j2 Hi Ralph, There are some

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
41 AM, Chathura Priyankara > wrote: > > I have to convert a pattern layout written for log4j 1.2. to log4j2. > Following code snippet shows a part of it. I have searched a lot about this > but couldn't find a proper guide. > Can anyone please give me a brief guide about h

Re: [Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Ralph Goers
convert a pattern layout written for log4j 1.2. to log4j2. > Following code snippet shows a part of it. I have searched a lot about this > but couldn't find a proper guide. > Can anyone please give me a brief guide about how to do this conversion ? > > Any help is

[Dev][log4j2] How to create custom pattern layout in log4j2

2015-05-18 Thread Chathura Priyankara
I have to convert a pattern layout written for log4j 1.2. to log4j2. Following code snippet shows a part of it. I have searched a lot about this but couldn't find a proper guide. Can anyone please give me a brief guide about how to do this conversion ? Any help is highly appreciated! p

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-05-14 Thread Chathura Priyankara
> ERROR StatusLogger Log4j2 could not find a logging implementation. Please > add log4j-core to the classpath. Using SimpleLogger to log to the console > > As far as I understood this error comes because log4j2 api cannot find the > log4j-provider.properties file inside the META-INF o

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-05-13 Thread Chathura Priyankara
ore to the classpath. Using SimpleLogger to log to the console As far as I understood this error comes because log4j2 api cannot find the log4j-provider.properties file inside the META-INF of log4j-core. I'm quite new to this, could you please tell me why I'm getting this error and how to correc

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-05-13 Thread Chathura Priyankara
ore to the classpath. Using SimpleLogger to log to the console As far as I understood this error comes because log4j2 api cannot find the log4j-provider.properties file inside the META-INF of log4j-core. I'm quite new to this, could you please tell me why I'm getting this error and how to correc

Re: [Dev][log4j2]How to configure log4j2 in OSGi environment

2015-05-13 Thread Gary Gregory
no proper guide about how to configure log4j2 OSGi > bundles correctly. Even though there is a fix [1] for the class loading > issue I'm still getting add log4j2 implementation to the class path > exception in an OSGi environment. > > Can any one please guide me how correctly u

[Dev][log4j2]How to configure log4j2 in OSGi environment

2015-05-13 Thread Chathura Priyankara
Hi All, It seems like there is no proper guide about how to configure log4j2 OSGi bundles correctly. Even though there is a fix [1] for the class loading issue I'm still getting add log4j2 implementation to the class path exception in an OSGi environment. Can any one please guide m

Re: [Dev][log4j2]How to use log4j2 Commons Logging Bridge

2015-04-23 Thread Chathura Priyankara
Hi, I did experiment by my own. It needs to have org.apache.commons.logging.LogFactory inside the META-INF/services directory of the OSGi bundle. Thanks! On Thu, Apr 23, 2015 at 7:19 PM, Ralph Goers wrote: > Unfortunately, I have no OSGi experience and can’t answer your question. > There are o

Re: [Dev][log4j2]How to use log4j2 Commons Logging Bridge

2015-04-23 Thread Chathura Priyankara
Hi Ralph, Thank you very much for the explanation. One more question, If I use the Commons Logging Bridge in OSGi environment do i need to include following resource org.apache.commons.logging.LogFactory to the META-INF/services directory of the OSGi bundle? Thanks, Chathura. On Thu, Apr 23, 201

Re: [Dev][log4j2]How to use log4j2 Commons Logging Bridge

2015-04-23 Thread Ralph Goers
1. That message comes from log4j 1.x so you still have its jar in the class path. 2. The Commons Logging bridge is not meant for you to code against. You should be coding t the commons logging API. The bridge then binds commons logging to log4j 2. Sent from my iPad > On Apr 23, 2015, at 2:36 A

[Dev][log4j2]How to use log4j2 Commons Logging Bridge

2015-04-23 Thread Chathura Priyankara
Hi, I want to use log4j2 Commons Logging Bridge with commons 1.2. I tried to use something like follows: import org.apache.logging.log4j.jcl.LogFactoryImpl; public class MyClass{ private static Log log = LogFactoryImpl.getLog(DropinsBundleDeployer.class); . . .

[jira] [Updated] (LOG4J2-370) Log4j2 & OSGi How-To

2015-03-02 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-370: Fix Version/s: (was: 2.2) 2.2.1 > Log4j2 & OSGi

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-13 Thread Joe Merten (JIRA)
gging output on logcat. Seems that I need something like a {{LogcatAppender}} but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Seeing t

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-13 Thread Joe Merten (JIRA)
n't see my logging output on logcat. Seems that I need something like a {{LogcatAppender}} but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2.

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-10 Thread Joe Merten (JIRA)
need something like a {{LogcatAppender}} but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Seeing this output in logcat: {quote} ERROR Statu

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
need something like a `LogcatAppender` but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Could you help? Edit, seeing this output in l

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
need something like a `LogcatAppender` but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Could you help? Edit, seeing this output in l

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
need something like a `LogcatAppender` but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Could you help? Edit, seeing this output in l

Re: [jira] [Created] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Alvaro de Lucas
Maybe this can help you...http://stackoverflow.com/questions/28235021/log4j2-on-androidKind regards El Lunes 9 de febrero de 2015 22:07, Joe Merten (JIRA) escribió: Joe Merten created LOG4J2-951: -             Summary: How to use log4j2 with Android

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
need something like a `LogcatAppender` but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Could you help? was: [This|https://github.com/J

[jira] [Updated] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
omething like a `LogcatAppender` but couldn't find hints how to do that. I found [this|https://code.google.com/p/android-logging-log4j] project but it has no commits over the last 2 years and so it seems that it not fits to log4j2. Could you help? was: [This](https://github.com/Joe-Mert

[jira] [Created] (LOG4J2-951) How to use log4j2 with Android (Logcat)?

2015-02-09 Thread Joe Merten (JIRA)
Joe Merten created LOG4J2-951: - Summary: How to use log4j2 with Android (Logcat)? Key: LOG4J2-951 URL: https://issues.apache.org/jira/browse/LOG4J2-951 Project: Log4j 2 Issue Type: Question

[jira] [Commented] (LOG4J2-943) How to configure StatisticsCsvLayout in log4j2 ?

2015-01-22 Thread Gary Gregory (JIRA)
see https://commons.apache.org/proper/commons-csv/ > How to configure StatisticsCsvLayout in log4j2 ? > > > Key: LOG4J2-943 > URL: https://issues.apache.org/jira/browse/LOG4J2-943 >

[jira] [Commented] (LOG4J2-943) How to configure StatisticsCsvLayout in log4j2 ?

2015-01-22 Thread Remko Popma (JIRA)
for more details, like how to pass parameters. {code} @Plugin(name = "StatisticsCsvLayout", category = "Core", elementType = "layout", printObject = true) public final class StatisticsCsvLayout extends AbstractLayout { public StatisticsCsvLayout(String param1, Str

[jira] [Closed] (LOG4J2-943) How to configure StatisticsCsvLayout in log4j2 ?

2015-01-21 Thread Gary Gregory (JIRA)
list. > How to configure StatisticsCsvLayout in log4j2 ? > > > Key: LOG4J2-943 > URL: https://issues.apache.org/jira/browse/LOG4J2-943 > Project: Log4j 2 >

[jira] [Created] (LOG4J2-943) How to configure StatisticsCsvLayout in log4j2 ?

2015-01-20 Thread Mike Andrew (JIRA)
Mike Andrew created LOG4J2-943: -- Summary: How to configure StatisticsCsvLayout in log4j2 ? Key: LOG4J2-943 URL: https://issues.apache.org/jira/browse/LOG4J2-943 Project: Log4j 2 Issue Type

[jira] [Closed] (LOG4J2-824) How to delegate logging to a utility class in Log4j2

2014-12-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-824. -- Resolution: Implemented Closing this issue as "Implemented". > How to delegate logging

[jira] [Commented] (LOG4J2-510) How to close inactive log files

2014-11-07 Thread Emmanuel BRUN (JIRA)
er you close the logger, an error will be generated but it will not stop your application > How to close inactive log files > --- > > Key: LOG4J2-510 > URL: https://issues.apache.org/jira/browse/LOG4J2-510 >

[jira] [Commented] (LOG4J2-510) How to close inactive log files

2014-11-04 Thread Ralph Goers (JIRA)
ting appender. Appender's already support a stop method but it isn't being called until the RoutingAppender itself shuts down. > How to close inactive log files > --- > > Key: LOG4J2-510 > URL: https://issues.apac

[jira] [Commented] (LOG4J2-510) How to close inactive log files

2014-11-04 Thread Emmanuel BRUN (JIRA)
yone can suggest a workaround ? Maybe a appender.close() can be the solution, but I am not sure how to do this Thank for you help Emmanuel > How to close inactive log files > --- > > Key: LOG4J2-510 > URL: https://iss

[jira] [Updated] (LOG4J2-510) How to close inactive log files

2014-10-22 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-510: --- Affects Version/s: 2.1 > How to close inactive log fi

[jira] [Comment Edited] (LOG4J2-510) How to close inactive log files

2014-10-22 Thread Remko Popma (JIRA)
nto it base on the Thread. The problem comes when the session expired and the file become inactive and stays open the more session I create the more files are generated up to a stage where the OS complaint that too many files are open and the App crash. > How to close i

[jira] [Updated] (LOG4J2-510) How to close inactive log files

2014-10-22 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-510: --- Fix Version/s: (was: 2.1) > How to close inactive log fi

[jira] [Commented] (LOG4J2-865) How to change level in LoggerConfig and AppenderControl programmatically

2014-10-08 Thread Ralph Goers (JIRA)
eate the actual Appenders, Loggers, Filters, etc. > How to change level in LoggerConfig and AppenderControl programmatically > > > Key: LOG4J2-865 > URL: https://issues.apache.org

[jira] [Commented] (LOG4J2-865) How to change level in LoggerConfig and AppenderControl programmatically

2014-10-08 Thread Matt Sicker (JIRA)
via LoggerContext.setConfigLocation(URI), but that's for a configuration file. The other way is handled via LoggerContext.start(Configuration) which will reconfigure the LoggerContext with the provided Configuration if it's already running. > How to change level in LoggerConfig an

[jira] [Commented] (LOG4J2-865) How to change level in LoggerConfig and AppenderControl programmatically

2014-10-08 Thread Andrew Herr (JIRA)
but after scouring the API docs I still have no idea how I can create a new configuration or replace the existing one in the current context. What is the best way to go about this programmatically? I see how to rip Appenders out and put them back in, but I'd prefer to play it safe. > H

[jira] [Closed] (LOG4J2-865) How to change level in LoggerConfig and AppenderControl programmatically

2014-10-02 Thread Remko Popma (JIRA)
tion easier to find for other users. > How to change level in LoggerConfig and AppenderControl programmatically > > > Key: LOG4J2-865 > URL: https://issues.apa

[jira] [Updated] (LOG4J2-865) How to change level in LoggerConfig and AppenderControl programmatically

2014-10-02 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-865: --- Summary: How to change level in LoggerConfig and AppenderControl programmatically (was: Changing

[jira] [Commented] (LOG4J2-824) How to delegate logging to a utility class in Log4j2

2014-09-24 Thread Remko Popma (JIRA)
this? Did the code gen tool work for you? > How to delegate logging to a utility class in Log4j2 > > > Key: LOG4J2-824 > URL: https://issues.apache.org/jira/browse/LOG4J2-824 >

[jira] [Updated] (LOG4J2-370) Log4j2 & OSGi How-To

2014-09-19 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-370: --- Fix Version/s: (was: 2.1) 2.2 > Log4j2 & OSGi

  1   2   3   >