tLogger()
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Feb 17, 2016 at 2:34 PM, Francois Meillet <
> francois.meil...@gmail.com> wrote:
>
>> Dear All,
>>
>> I use the Mapped Diagnostic Context conce
he.wicket.Application#newRequestLogger()
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Feb 17, 2016 at 2:34 PM, Francois Meillet <
> francois.meil...@gmail.com> wrote:
>
>> Dear All,
>>
>> I use the Mapp
Meillet <
francois.meil...@gmail.com> wrote:
> Dear All,
>
> I use the Mapped Diagnostic Context concept
> https://logging.apache.org/log4j/2.x/manual/thread-context.html).
>
> Using log4j 2.x and a specific AbstractRequestCycleListener,
> I overrided
On Wed, Feb 17, 2016 at 3:34 PM, Francois Meillet <
francois.meil...@gmail.com> wrote:
> Dear All,
>
> I use the Mapped Diagnostic Context concept
> https://logging.apache.org/log4j/2.x/manual/thread-context.html).
>
> Using log4j 2.x and a specific AbstractRequestCycl
Dear All,
I use the Mapped Diagnostic Context concept
https://logging.apache.org/log4j/2.x/manual/thread-context.html).
Using log4j 2.x and a specific AbstractRequestCycleListener,
I overrided onBeginRequest() to perform a ThreadContext.push(id)
and onDetach(RequestCycle cycle) to perform
I'm having some trouble configuring tomcat 8 logging for my wicket 7
application.
Based on mykong's example here I set up my application's pom and adde the
log4.j properties file:
http://www.mkyong.com/wicket/wicket-log4j-integration-example/
My log4j.properties file:
log4j.rootLogger=INFO
Hi,
Your question is not about Wicket.
You should ask in Log4j forums.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Oct 12, 2015 at 7:17 AM, petivagyoken <petivagyoken...@gmail.com>
wrote:
> I'm having some trouble configuring tomcat 8 loggi
Hi Martin,
I've removed all log4.properties files and... it's working! :)
Thanks a million for your help! I am sure this will prevent some attacks of
nerves when users will redeploy their wicket apps from JBoss7 to WildFly8..
Best regards,
Sebastien.
PS: Stefan David, thanks for your help too!
Cool!
I'll see whether it is possible to filter out log4j.properties with
maven-archetype-plugin and if it is then I'll update the quickstart
generator.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Aug 11, 2014 at 10:39 AM, Sebastien seb...@gmail.com
http://jira.codehaus.org/browse/ARCHETYPE-274
apparently it is not supported for now
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Aug 11, 2014 at 10:42 AM, Martin Grigorov mgrigo...@apache.org
wrote:
Cool!
I'll see whether it is possible to filter
https://issues.apache.org/jira/browse/WICKET-5671 :-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Aug 11, 2014 at 5:32 PM, Martin Grigorov mgrigo...@apache.org
wrote:
http://jira.codehaus.org/browse/ARCHETYPE-274
apparently it is not supported for
Very nice! :)
On Mon, Aug 11, 2014 at 9:50 PM, Martin Grigorov mgrigo...@apache.org
wrote:
https://issues.apache.org/jira/browse/WICKET-5671 :-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Aug 11, 2014 at 5:32 PM, Martin Grigorov
because I don't have any logs in the
output (console or file) coming from wicket itself or my wicket application.
I read all the internet (twice...), some says that's is not possible to
have log4j/slf4j in WildFly, some says it should be activated using
jboss-deployment-structure.xml for instance
Hi Sebastien,
I started Wildfly8 development with wicket a few weeks ago.
At first: logging works and it seems that jboss still uses log4j wich is
configured in standalone.xml/standalone-full.xml.
Simply adding a logger category will not work because the log level in consele
handler
Betreff: Wicket / WildFly 8: Log4J / SLF4J ?
Hi all,
Well, that's not a pure wicket question but maybe the answer (if any, I
hope) could interest future readers...
I am trying to set-up a new project using Wicket (7), WildFly 8 (and EJB-3.1,
CDI-1.1, native websockets, and probably something
Hi Stefan,
Many thanks for your answer; yes, that helps to know that it is supposed to
work out of the box!
I tried your suggestion - even if INFO would have been enough for now -
without more success.
I also added Dependencies:
org.slf4j,org.slf4j.impl,org.slf4j.jcl-over-slf4j,org.apache.log4j
wehen you think about EJBs persistence, message queues
etc.
---
Stefan
-Ursprüngliche Nachricht-
Von: Sebastien [mailto:seb...@gmail.com]
Gesendet: Freitag, 8. August 2014 14:12
An: users@wicket.apache.org
Betreff: Re: Wicket / WildFly 8: Log4J / SLF4J ?
Hi Stefan,
Many thanks
Hi Stefan,
Thanks for your verification, it is really helpful.
By conscience, I tried out the full profile, nothing better.
I will investigate a little bit further and will post the answer (as
supposed I find the answer... :s)
Best regards,
Sebastien.
On Fri, Aug 8, 2014 at 2:32 PM, Stefan
I also just tried with wildfly 8.0.0 (I used it to implement web socket
native support for it) and nothing of this helped.
I tried with a file appender too. The file is created but remains empty.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Aug 8, 2014
/ WildFly 8: Log4J / SLF4J ?
Hi Stefan,
Thanks for your verification, it is really helpful.
By conscience, I tried out the full profile, nothing better.
I will investigate a little bit further and will post the answer (as supposed I
find the answer... :s)
Best regards,
Sebastien.
On Fri, Aug
but
will switch to log4j later.
As for custom modules for drivers for databases I use a postgresql driver
and connection. I simply created a module under the modules directory
modules/system/layers/base/org/postgresql/main/ and then added a module.xml
file and the postgresql jar. Then added the data
to
slf4j-api does not shortcut the jboss one (slf4j-api-1.7.2.jbossorg-1.jar),
still testing...
Also a strange thing, there is no log4j jar in
modules\system\layers\base\org\apache\log4j\main...
Even more strange (I forgot I did the test, sorry): even a sysout or a JUL
logger info does *not* work
wicket to
slf4j-api does not shortcut the jboss one (slf4j-api-1.7.2.jbossorg-1.jar),
still testing...
Also a strange thing, there is no log4j jar in
modules\system\layers\base\org\apache\log4j\main...
Even more strange (I forgot I did the test, sorry): even a sysout or a JUL
logger info does
, I don't know where I am suppose to write these kind of
lines. But not sure if it's important)...
Interesting point however: if I take a wildfly quickstart [1] and put an
slf4j or a log4j logger, it works immediately (without any
configuration!)...
Thanks again have a good WE,
Sebastien.
[1
of
lines. But not sure if it's important)...
Interesting point however: if I take a wildfly quickstart [1] and put an
slf4j or a log4j logger, it works immediately (without any
configuration!)...
Thanks again have a good WE,
Sebastien.
[1] https://github.com/wildfly/quickstart
On Fri
take a wildfly quickstart [1] and put an
slf4j or a log4j logger, it works immediately (without any
configuration!)...
Thanks again have a good WE,
Sebastien.
[1] https://github.com/wildfly/quickstart
On Fri, Aug 8, 2014 at 5:47 PM, David Beer david.m.b...@gmail.com
wrote
if it's important)...
Interesting point however: if I take a wildfly quickstart [1] and put
an
slf4j or a log4j logger, it works immediately (without any
configuration!)...
Thanks again have a good WE,
Sebastien.
[1] https://github.com/wildfly/quickstart
On Fri, Aug
=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L -
%m%n
log4j.appender.stdout.Threshold=info
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/log4j-not-logging-tp4658134.html
Sent from the Users forum mailing list archive
I think I was able to log wicket log4j messages (pre wicket verson
1.4.10) by specificying a log4j appender for the wicket package.
E.g. org.apache.wicket.*
But, I wonder with the recent version of wicket, do I have to use
org.slf4j.impl ...
Basically, is there anything special to redirect
.
Unfortunatelly these MDC information are missed as RequestLogger invokes
it's logging after invocation of WebRequestCycle.onEndRequest method which
removes MDC entires.
Is it a workaround for doing that?
--
View this message in context:
http://www.nabble.com/wicket---log4j-MDC-tp22784121p25818319.html
Maarten,
a) In my source tree, it is in webapp/src/main/resources/log4j.properties.
When deployed, it ends up in WEB-INF/classes/log4j.properties
b) yes, log4j-1.2.15.jar
log4j is working fine, I can get a root logger and log to it. The problem
seems that the wicket infrastructure is using slf4j
On Fri, Jul 24, 2009 at 3:47 PM, pieter claassen pie...@claassen.co.ukwrote:
I think that slf4j is not working in my setup and it might have nothing to
do with Tomcat. As a matter of fact, I assume I don't even have to have
log4j or slf4j working with tomcat, but that as long as my POM
I am sure something is broken in tomcat. This is not a dependency issue as
the build runs file and manually logging info with log4j also works (see
below). The problem seems when wicket logs using slf4j and this only goes to
catalina.log (I cannot get this redirected to my own log file).
If I
and manually logging info with log4j also works (see
below). The problem seems when wicket logs using slf4j and this only goes
to
catalina.log (I cannot get this redirected to my own log file).
If I understand this correctly, wicket uses slf4j to log its own internals.
With tomcat6, I am supposed
I am trying to get my application to log to a separate file with the
following log4j.properties (server is tomcat6 in netbeans). I enabled the
following in my wicketapplication.
getRequestLoggerSettings().setRequestLoggerEnabled(true);
What I find is that catalina.{date}.out logs the requests
There seems to be something broken in wicket here.
Logger.getRootLogger().info(AUTHPAGE REQUESTED);
This does log to my log file, but for some reason the following code still
just logs to the console in tomcat. I have converted tomcat to use log4j and
can print tomcat debug into to a file
, but I image it should work for you also since JBoss is built on top
of tomcat. In JBoss 4.2.3 and lower I was able to use log4j sandbox alpha 3,
which had a similar implementation of the repository selector that could work
based on JNDI context or context classloader. Good luck finding that jar
Yes, I find that if I use log4j directly, then it works, but if I use slf4j,
then it logs via the built in java.util.logging of tomcat6. So the issue
seems to be to integrate slf4j with Tomcat6. There seems to be little out
there on how to replace commons logging with slf4j rather than log4j (so
Maybe this can help
http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html
Witi
Am Fri, 24 Jul 2009 15:08:48 +0200
schrieb pieter claassen pieter.claas...@gmail.com:
Yes, I find that if I use log4j directly, then it works, but if I use
slf4j, then it logs via the built
I think that slf4j is not working in my setup and it might have nothing to
do with Tomcat. As a matter of fact, I assume I don't even have to have
log4j or slf4j working with tomcat, but that as long as my POM references
the correct dependencies, my application should log correctly?
To overcome
this message in context:
http://www.nabble.com/wicket---log4j-MDC-tp22784121p24110412.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
.
Are there conflicting slf4j-log4j12 versions in there? Are there
conflicting
log4j versions?
On Thu, May 14, 2009 at 9:54 PM, fachhoch fachh...@gmail.com wrote:
I using log4j.xml
http://www.nabble.com/file/p23547818/log4j.xml log4j.xml attached is my
log4j.xml
James Carman-3 wrote
bean wicketApplication' is my web-application's
org.apache.wicket.Application
this is the error message I get starting my application
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'wicketApplication' defined in class path resource
Can we see your log4j.properties file?
On Thu, May 14, 2009 at 3:39 PM, tubin gen fachh...@gmail.com wrote:
bean wicketApplication' is my web-application's
org.apache.wicket.Application
this is the error message I get starting my application
should I use ?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/error-because-of-log4j
You should also check your dependencies using the maven dependency plugin.
Are there conflicting slf4j-log4j12 versions in there? Are there conflicting
log4j versions?
On Thu, May 14, 2009 at 9:54 PM, fachhoch fachh...@gmail.com wrote:
I using log4j.xml
http://www.nabble.com/file/p23547818
Hi
I would like to add MDC information(i.e. user login) to my loggs (log4j).
To do that I have to call MDC.put at the beggining of request
handling. Im looking for 'interception' functionality in Wicket to add
MDC code there. Where I should add such code ? RequestCycle ?
Regards
Daniel
) {
return null;
}
}
Azzeddine Daddah
www.hbiloo.com
On Mon, Mar 30, 2009 at 4:11 PM, daniel.lipski...@gmail.com wrote:
Hi
I would like to add MDC information(i.e. user login) to my loggs (log4j).
To do that I have to call MDC.put at the beggining of request
handling. Im looking
To: users@wicket.apache.org
Subject: wicket log4j MDC
Hi
I would like to add MDC information(i.e. user login) to my loggs (log4j).
To do that I have to call MDC.put at the beggining of request
handling. Im looking for 'interception' functionality in Wicket to add
MDC code there. Where I should
Hi,
How to integrate log4j with wicket.
Regards,
Srinivasa Raju CH.
Get your world in your inbox!
Mail, widgets, documents, spreadsheets, organizer and much more with your
Sifymail WIYI id!
Log on to http://www.sify.com
** DISCLAIMER **
Information contained and transmitted
slf4j is used as a layer and log4j by default is contained in pom.xml if you
use Wicket quickstart.
You can add it manualy:
dependency
groupIdorg.slf4j/groupId
artifactIdslf4j-log4j12/artifactId
version1.4.2/version
/dependency
dependency
groupIdlog4j/groupId
the past hour searching google and the mailing list
archives. It seems to come up with tomcat occasionally, but the only
suggestions have been to make sure that the log4j jar isn't in the
tomcat shared/lib or common/lib directory, and in my case it's not.
Any ideas?
Arg,
Alex
The relevant
searching google and the mailing list
archives. It seems to come up with tomcat occasionally, but the
only suggestions have been to make sure that the log4j jar isn't in
the tomcat shared/lib or common/lib directory, and in my case it's
not.
Any ideas?
Arg,
Alex
53 matches
Mail list logo