Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-14 Thread LSomefun
Thanks Martins for your help. The reason which I am not absolutely sure, there was a conflict on using both and using JavaScriptHeadItem -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To un

Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Then you could try to debug it using browser developer tools (inspect element, debugger etc.). Usually there is an issue like conflicting js or missing dependencies (throws exception on js), or something along those lines. Also could be that dependencies are injected in wrong order, or you might a

Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread LSomefun
No notification on console/browser log. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@

Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Did you check both console log and browser (developer tools) logs? ** Martin ma 13. huhtik. 2020 klo 19.56 LSomefun (oyesomefunla...@gmail.com) kirjoitti: > I am having problem with inserting JavaScript into a Html body tag. Once I > use the following code as shown in the tutorial into my > Auth

setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread LSomefun
I am having problem with inserting JavaScript into a Html body tag. Once I use the following code as shown in the tutorial into my AuthenticatedWebapplication, I can no longer login to my application. setHeaderResponseDecorator(response -> { return new ResourceAggregator(new JavaScript

wicket-rest - logging requests and responses

2018-02-13 Thread mscoon
Hi everyone, Is there an example or some guidelines for logging requests and responses (including request and response headers and body) to resources implemented with wicket-rest-annotations? I'm looking for something low-level and cross-cutting, such as the cxf logging interceptors

Re: Page Parameters logging

2014-10-24 Thread shareski
nabble.com/Page-Parameters-logging-tp4668053p4668075.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Page Parameters logging

2014-10-24 Thread shareski
Thanks, this is what I'm doing now, just wanted to make sure it was an ok idea. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053p4668074.html Sent from the Users forum mailing list archive at Nabbl

Re: Page Parameters logging

2014-10-23 Thread Martin Grigorov
nt way to do this. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
questHandler to intercept the exception but I'm wondering if there's a more elegant way to do this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053.html Sent from the Users forum mailing l

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
ng if there's a more elegant way to do this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053.html Sent from the Users forum mailing list archive at Nabble.com. ---

Page Parameters logging

2014-10-23 Thread shareski
he-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: RequestLogger - logging page requests only

2013-08-07 Thread Martin Grigorov
Hi, I think this is OK. On Wed, Aug 7, 2013 at 8:43 AM, Marios Skounakis wrote: > Hi all, > > I want to customize request logger to only log page requests. I.e. I don't > want resource requests, etc. > > I have overridden log(RequestData rd, SessionData sd) as follows: > > @Override > prot

RequestLogger - logging page requests only

2013-08-06 Thread Marios Skounakis
Hi all, I want to customize request logger to only log page requests. I.e. I don't want resource requests, etc. I have overridden log(RequestData rd, SessionData sd) as follows: @Override protected void log(RequestData rd, SessionData sd) { if (rd.getResponseTarget() instanceof IPage

Re: log4j not logging

2013-04-19 Thread Francois Meillet
Change this last line log4j.appender.stdout.Threshold=info by this one log4j.appender.stdout.Threshold=debug. François Meillet Formation Wicket - Développement Wicket Le 19 avr. 2013 à 22:36, omega a écrit : > I have a simple logging mechanism in code - > > private static fin

Re: wicket 6.1.0 default logging configuration

2012-10-23 Thread Wujek Srujek
wrote: > > Hi. I am using wicket 6.1.0 and logback-classic as my logging backend. > > There is no configuration anywhere but wicket (and wicket only) logs > > everything at level DEBUG - where can this be coming come from? > > > > wujek > &

Re: wicket 6.1.0 default logging configuration

2012-10-23 Thread Martin Grigorov
.xml, logback.groovy, log4j.properties) you may find whether there is one of those in the classpath and where exactly. On Tue, Oct 23, 2012 at 1:31 AM, Wujek Srujek wrote: > Hi. I am using wicket 6.1.0 and logback-classic as my logging backend. > There is no configuration anywhere but wicket (and wicket

Re: logging 404s

2012-03-04 Thread Martin Grigorov
Hi, Servlet specification says that the original request should be available in request attribute named "javax.servlet.error.request_uri" See org.apache.wicket.protocol.http.servlet.ErrorAttributes On Mon, Mar 5, 2012 at 6:15 AM, Douglas Ferguson wrote: > I setup a 404 handler in my web.xml to p

logging 404s

2012-03-04 Thread Douglas Ferguson
I setup a 404 handler in my web.xml to point to a wicket page. I'd like to be able to log what the original request was, but I'm having trouble figuring this out. Douglas - To unsubscribe, e-mail: users-unsubscr...@wicket.apach

Re: logging the page class name

2011-12-01 Thread Marcelo Morales
On Tue, Nov 29, 2011 at 12:23 PM, fachhoch wrote: > I want to log all the pages users   are  viewing  without any much detail > just  the page   class  name . > is there any way I can get this without adding my own log statements in code > ? Override on Application#init(): getRequestLoggerSetting

Re: logging the page class name

2011-12-01 Thread nino martinez wael
Yeah and use context based logging On Nov 29, 2011 5:32 PM, "Thomas Götz" wrote: > I would create my own base Page (where all other pages extend from) and > add the desired logging statement there (onConfigure(), onBeforeRender()). > Most of the times you already have a comm

Re: logging the page class name

2011-11-29 Thread Thomas Götz
I would create my own base Page (where all other pages extend from) and add the desired logging statement there (onConfigure(), onBeforeRender()). Most of the times you already have a common base page anyway … Cheers, -Tom fachhoch wrote: > I want to log all the pages users are view

Re: logging the page class name

2011-11-29 Thread Martin Grigorov
he page   class  name . > is there any way I can get this without adding my own log statements in code > ? > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/logging-the-page-class-name-tp4119768p4119768.html > Sent from

logging the page class name

2011-11-29 Thread fachhoch
I want to log all the pages users are viewing without any much detail just the page class name . is there any way I can get this without adding my own log statements in code ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/logging-the-page-class-name

Re: Problem with two users logging in two tabs of same browser window

2010-11-05 Thread Martijn Dashorst
e first user when >> the new user is identified in the second tab. >> >> Martijn >> > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-with-two-users-logging-in-two-tabs-of-same-browser-window-tp3027407p3029083.html > Sent fro

Re: Problem with two users logging in two tabs of same browser window

2010-11-05 Thread Daniel Toffetti
nd tab. > > Martijn > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-two-users-logging-in-two-tabs-of-same-browser-window-tp3027407p3029083.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Jeremy Thomerson
On Thu, Nov 4, 2010 at 2:40 PM, Eelco Hillenius wrote: > FWIW, we've talked in the past about making pagemaps more explicitly > about supporting tabs and windows, but never got around taking that to > the next level, also because we didn't all agree on how much we should > focus on this in the fir

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Eelco Hillenius
> Your browser doesn't identify a new tab as a new session. Therefore > the servlet container doesn't know that it is a new user. If it is a > valid usecase, you should build multi user session sharing in your > app. If it is a bug, you should properly log out the first user when > the new user is

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Martin Makundi
bles in places where >> they should not be. >> Martin >> > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-with-two-users-logging-in-two-tabs-of-same-browser-window-tp3027407p3027490.html > Sent from the Users forum mailing

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Martijn Dashorst
deploy the upgrade, do I need to show > any app init code ?? > > Thanks for your help, > > Daniel > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-with-two-users-logging-in-two-tabs-of-same-browser-window-tp3027407p3027407.html >

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Daniel Toffetti
y bug or maybe you have static variables in places where > they should not be. > Martin > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-two-users-logging-in-two-tabs-of-same-browser-window-tp3027407p3027490.html Sent from the Users forum ma

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Martin Makundi
 I'm using Wicket 1.3.7 in production but I'm ready to migrate to 1.4.13 > and would like to fix this before I deploy the upgrade, do I need to show > any app init code ?? > > Thanks for your help, > > Daniel > > -- > View this message in context: > http://ap

Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Daniel Toffetti
'm using Wicket 1.3.7 in production but I'm ready to migrate to 1.4.13 and would like to fix this before I deploy the upgrade, do I need to show any app init code ?? Thanks for your help, Daniel -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-

Re: Logging sessionId for every log event

2010-09-16 Thread Igor Vaynberg
wrap a filter around wicket filter -igor On Thu, Sep 16, 2010 at 9:07 AM, Jeffrey Schneller wrote: > I am trying to log the session id with every log event so that I can > trace a visitors steps in the log file.  I am using log4j and was hoping > I could use either the NDC or MDC.  I am not able

Logging sessionId for every log event

2010-09-16 Thread Jeffrey Schneller
I am trying to log the session id with every log event so that I can trace a visitors steps in the log file. I am using log4j and was hoping I could use either the NDC or MDC. I am not able to figure out where to push the session id into the context and pop it out of the context when using NDC.

RE: Logging

2010-07-19 Thread Alex Rass
ackages in the future. private static final Logger log = LoggerFactory.getLogger(CurrentClassHere.class); - Alex -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Thursday, July 15, 2010 4:15 AM To: users@wicket.apache.org Subject: Re: Logging

Re: Logging

2010-07-15 Thread Martin Makundi
   private static final Logger log = >> LoggerFactory.getLogger(WebPage.class); >> >> >> 2010/7/15 Josh Kamau : >> > Hi guys; >> > >> > I know wicket comes with pre configured logging . How do i get hold of >> the >> &g

Re: Logging

2010-07-15 Thread Josh Kamau
h Kamau : > > Hi guys; > > > > I know wicket comes with pre configured logging . How do i get hold of > the > > Logger object so that i can log messages in my pages and panels? > > > > regards. > > > > Josh. > > > > -

Re: Logging

2010-07-15 Thread Martin Makundi
private static final Logger log = LoggerFactory.getLogger(WebPage.class); 2010/7/15 Josh Kamau : > Hi guys; > > I know wicket comes with pre configured logging . How do i get hold of the > Logger object so that i can log messages in my pages and panels? > >

Logging

2010-07-15 Thread Josh Kamau
Hi guys; I know wicket comes with pre configured logging . How do i get hold of the Logger object so that i can log messages in my pages and panels? regards. Josh.

Re: Logging popup

2010-06-02 Thread Jeremy Thomerson
On Wed, Jun 2, 2010 at 3:11 PM, Hans Friederichs wrote: > Hello you all, > > I'm quite new to wicket, but I've made a rather complex application using > it. > It's a web-application that gives users the opportunity to start and view > deployment processes. > Each proces is represented on the main

Logging popup

2010-06-02 Thread Hans Friederichs
Hello you all, I'm quite new to wicket, but I've made a rather complex application using it. It's a web-application that gives users the opportunity to start and view deployment processes. Each proces is represented on the main page by a row in a List(Model), and when a row represents a busy pro

Re: Logging configuration trouble

2009-12-29 Thread Martin Zardecki
Think I figured this out; it appears to be related to the order things happen. I originally had my logging initialization as the first line in my Application init() method. Unfortunately this occurs after some of the class Loggers get initialized statically and consequently our initialization

Logging Configuration Question

2009-12-21 Thread Martin Zardecki
Hi list, sorry if I'm double posting but I sent a question two days ago and haven't seen it on the daily digest yet. I'm using Java Utils Logging along with Wicket and I have a log.properties which I read in the WicketApplication init me

Logging configuration trouble

2009-12-20 Thread Martin Zardecki
Hi list, I'm using Java Utils Logging along with Wicket and I have a log.properties which I read in the WicketApplication init method as follows: java.util.logging.LogManager.getLogManager().readConfiguration(input); I confirm that my log.properties is read in correctly using a deb

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
api to impl thus avoiding classloader hell. -igor On Wed, Nov 18, 2009 at 9:21 PM, Lester Chua wrote: H, very interesting, didnt realise that commons-logging was problematic, just that I avoided it before because I didnt want to introduce yet another library dependency for logging; which

Re: Question regarding Logging in Wicket

2009-11-18 Thread James Carman
By the way (not to start a flame war or anything), but "clogging" has been working just fine for us. We use it along with SLF4J using the adapter, We've had no problems at all. Don't get me wrong, I am aware of the issues with Commons Logging and I've argued for us to c

Re: Question regarding Logging in Wicket

2009-11-18 Thread Igor Vaynberg
dnt realise that commons-logging was problematic, > just that I avoided it before because I didnt want to introduce yet another > library dependency for logging; which is so low level that I don't think the > logging stack ever change in a project lifetime. > > About slf4j,

Re: Question regarding Logging in Wicket

2009-11-18 Thread James Carman
SLF4J would work just fine, too. Either way, you should declare them static. That avoids serializing them altogether. On Thu, Nov 19, 2009 at 12:09 AM, Igor Vaynberg wrote: > i wouldnt, commons logging, aka clogging, has been a bane of web > applications for a long time... > >

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
H, very interesting, didnt realise that commons-logging was problematic, just that I avoided it before because I didnt want to introduce yet another library dependency for logging; which is so low level that I don't think the logging stack ever change in a project lifetime. About

Re: Question regarding Logging in Wicket

2009-11-18 Thread Igor Vaynberg
i wouldnt, commons logging, aka clogging, has been a bane of web applications for a long time... wicket uses slf4j, why dont you do the same? still declaring your loggers static. -igor On Wed, Nov 18, 2009 at 9:07 PM, Lester Chua wrote: > I think I'll use this then. I was reluctant to

Re: Question regarding Logging in Wicket

2009-11-18 Thread Igor Vaynberg
orted by Wicket out of box? > > Lester > > Igor Vaynberg wrote: >> >> declare your logger static >> >> -igor >> >> On Wed, Nov 18, 2009 at 8:11 PM, Lester Chua wrote: >> >>> >>> Hi, >>> >>> I'm using

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
I think I'll use this then. I was reluctant to because of the need to introduce yet another library (some examples used this). Thanks! Lester James Carman wrote: Commons Logging? On Wed, Nov 18, 2009 at 11:11 PM, Lester Chua wrote: Hi, I'm using log4j as my logging tool.

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
-igor On Wed, Nov 18, 2009 at 8:11 PM, Lester Chua wrote: Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization errors because of the logger. E.g. class SomeForm extends Form { Logger l

Re: Question regarding Logging in Wicket

2009-11-18 Thread Igor Vaynberg
declare your logger static -igor On Wed, Nov 18, 2009 at 8:11 PM, Lester Chua wrote: > Hi, > > I'm using log4j as my logging tool. > But when I add log4j loggers into my components, I get serialization issues. > Wicket gives serialization errors because of the logger

Re: Question regarding Logging in Wicket

2009-11-18 Thread James Carman
Commons Logging? On Wed, Nov 18, 2009 at 11:11 PM, Lester Chua wrote: > Hi, > > I'm using log4j as my logging tool. > But when I add log4j loggers into my components, I get serialization issues. > Wicket gives serialization errors because of the logger. > > E.g. >

Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization errors because of the logger. E.g. class SomeForm extends Form { Logger logger = LogManager.getLogger(SomeForm.class); public void someM

RE: Logging configuration for Wicket - Newbie

2009-07-08 Thread Rowe, Richard A.
Thanks, Maarten. Richard From: users-return-39497-richard.a.rowe=saic@wicket.apache.org on behalf of Maarten Bosteels Sent: Wed 7/8/2009 4:37 PM To: users@wicket.apache.org Subject: Re: Logging configuration for Wicket - Newbie http://logging.apache.org

Re: Logging configuration for Wicket - Newbie

2009-07-08 Thread Maarten Bosteels
:46 PM, Rowe, Richard A. wrote: > I am trying to get my logging configured for a Wicket application. I am > using SLF4J and LOG4J. I have configured two appenders (Console and > File). I am noticing that all Wicket rendering statements are going to > my log file (INFO, DEBUG, etc).

Logging configuration for Wicket - Newbie

2009-07-08 Thread Rowe, Richard A.
I am trying to get my logging configured for a Wicket application. I am using SLF4J and LOG4J. I have configured two appenders (Console and File). I am noticing that all Wicket rendering statements are going to my log file (INFO, DEBUG, etc). This is not desirable. How do I turn this off? Thanks

Re: Logging to an additional File

2009-06-06 Thread nino martinez wael
hmm I usually dont put anything in the log location, and the log ends up the correct place... On tomcat thats either log folder or in the extracted war.. 2009/6/5 Francisco Diaz Trepat - gmail : > :-) > Tonio, my man. Thank you so much for your reply. > > I'm looking for some alternatives. > > I'l

Re: Logging to an additional File

2009-06-05 Thread Francisco Diaz Trepat - gmail
:-) Tonio, my man. Thank you so much for your reply. I'm looking for some alternatives. I'll see to post (mail) my conclusions if any. f(t) On Fri, Jun 5, 2009 at 3:36 PM, Tonio Caputo wrote: > Francisco, > > I'm not a wicket expert (as you know), the log4j configuration seems to be > ok, so

Re: Logging to an additional File

2009-06-05 Thread Tonio Caputo
Francisco, I'm not a wicket expert (as you know), the log4j configuration seems to be ok, so probably the reason for the problem is in other place. hope this helps tonio On Thu, Jun 4, 2009 at 5:18 PM, Francisco Diaz Trepat - gmail < francisco.diaztre...@gmail.com> wrote: > Hi all, > I'm hav

Logging to an additional File

2009-06-04 Thread Francisco Diaz Trepat - gmail
Hi all, I'm having a small problem trying to log to an additional file with a org.apache.log4j.FileAppender. Problem: Does not log Wicket stuff to the file. For instance this message: "WARNING: Tried to retrieve a localized string for a component that has not yet been added to the page.". I

Re: Logging for performance analysis

2009-04-28 Thread Jonathan Locke
gt; > On Mon, Apr 27, 2009 at 10:39 PM, Douglas Ferguson > wrote: >> We are experiencing some hard to trace performance issues (CPU pegged by >> JAVA). so we want to implement some logging in order to Audit the code. >> >> Any suggestions on wicket state that we

Re: Logging for performance analysis

2009-04-28 Thread Daniel Toffetti
Douglas Ferguson douglasferguson.us> writes: > > I will definitely share my findings. I saw 400% CPU (we have 4 proc box), > the other day! > > What debugging approach are you taking? > > Douglas > I've tried a couple monitoring tools for Tomcat, but they where too intrusive (required ins

Re: Logging for performance analysis

2009-04-28 Thread Martijn Dashorst
ace performance issues (CPU pegged by > JAVA). so we want to implement some logging in order to Audit the code. > > Any suggestions on wicket state that we can easily print out? I.E. size of > page map? Etc? > > D/ > --

RE: Logging for performance analysis

2009-04-27 Thread Douglas Ferguson
@wicket.apache.org Subject: Re: Logging for performance analysis Douglas Ferguson douglasferguson.us> writes: > > We are experiencing some hard to trace performance issues (CPU pegged by JAVA). so we want to implement some > logging in order to Audit the code. > > Any suggestions on wicket

Re: Logging for performance analysis

2009-04-27 Thread Daniel Toffetti
Douglas Ferguson douglasferguson.us> writes: > > We are experiencing some hard to trace performance issues (CPU pegged by JAVA). so we want to implement some > logging in order to Audit the code. > > Any suggestions on wicket state that we can easily print out? I.E. siz

Re: Logging for performance analysis

2009-04-27 Thread Jeremy Thomerson
egged by > JAVA). so we want to implement some logging in order to Audit the code. > > Any suggestions on wicket state that we can easily print out? I.E. size of > page map? Etc? > > D/ > - > To uns

Logging for performance analysis

2009-04-27 Thread Douglas Ferguson
We are experiencing some hard to trace performance issues (CPU pegged by JAVA). so we want to implement some logging in order to Audit the code. Any suggestions on wicket state that we can easily print out? I.E. size of page map? Etc? D

request time logging with application and network time disguished

2009-03-15 Thread ywtsang
we are trying to do logging on the request time to check the application processing time and the request output network time we first try to time the request processing by overriding WebRequestCycle#onBeginRequest, #onEndRequest but it seems the processing time is the same as the request time

Re: Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Erik van Oosten
Hi Kent, I am using the SLF4j implementation of commons-logging. If you use maven2 take a look at this blog article for an pom example that will set this up with log4j as logging backend: http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html. Below is a more up to date

Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Kent Larsson
Hi, I have some questions about logging, more specifically about setting it up and making sure it works. The project I'm doing will use Wicket, Spring and Hibernate. I know that Wicket and Hibernate uses Simple Logging Facade for Java (SL4J) and that Spring is using the logging component

Re: Getting the Exception from Exception Page (for logging purposes)...

2009-01-20 Thread Graeme Knight
ting UnexpectedExceptionDisplay page, you >> can >> get the exception that caused this page to be fired up? >> >> Cheers, Graeme. >> -- >> View this message in context: >> http://www.nabble.com/Getting-the-Exception-from-Exception-Page-%28for-logging-purp

Re: Getting the Exception from Exception Page (for logging purposes)...

2009-01-19 Thread Igor Vaynberg
up? > > Cheers, Graeme. > -- > View this message in context: > http://www.nabble.com/Getting-the-Exception-from-Exception-Page-%28for-logging-purposes%29...-tp21555998p21555998.html > Sent from the Wicket - User m

Getting the Exception from Exception Page (for logging purposes)...

2009-01-19 Thread Graeme Knight
Hi, Is it possible that after setting UnexpectedExceptionDisplay page, you can get the exception that caused this page to be fired up? Cheers, Graeme. -- View this message in context: http://www.nabble.com/Getting-the-Exception-from-Exception-Page-%28for-logging-purposes%29

Re: Swarm/Acegi and logging out

2008-06-30 Thread Maurice Marrink
You do not need to return the same instance but you do need to return an instance of the same class. Swarm does not keep your original logincontext anywhere, rather it keeps some sort of hash around. logging off with a new instance of the same class will produce the same hash. For that purpose

Re: Swarm/Acegi and logging out

2008-06-30 Thread David R Robison
wrote: You have to realize that both swarm and acegi keep a copy of the logged in user. So you have to logoff at 2 places. You could use a logoff page but imo it would be better to do the logging off in the link itself. Something like: Link logoff = new Link("l

Re: Swarm/Acegi and logging out

2008-06-30 Thread Maurice Marrink
You have to realize that both swarm and acegi keep a copy of the logged in user. So you have to logoff at 2 places. You could use a logoff page but imo it would be better to do the logging off in the link itself. Something like: Link logoff = new Link("l

Swarm/Acegi and logging out

2008-06-30 Thread David R Robison
I am using Swarm with Acegi integration. Authentication and authorization work fine, but I am having trouble logging out. I use a link to a Logout class that implements the following code to log the user out. public class LoggedOutPage extends SecureWebPage { private static final long

Re: Logging every request into db

2008-04-17 Thread Artur W.
Gerolf Seitz wrote: > > you could do that in your own WebRequestCycle subclass in the > onBeginRequest method. > Thanks, This was exactly what I was looking for! Artur -- View this message in context: http://www.nabble.com/Logging-every-request-into-db-tp16740900p16743061.ht

Re: Logging every request into db

2008-04-17 Thread Gerolf Seitz
ervletResponse response, > FilterChain chain) throws IOException, ServletException { > >super.doFilter(request, response, chain); > >RequestCycle requestCycle = RequestCycle.get(); >// logging goes here > >} > } > > But RequestCycle.get() ret

Logging every request into db

2008-04-17 Thread Artur W.
tResponse response, FilterChain chain) throws IOException, ServletException { super.doFilter(request, response, chain); RequestCycle requestCycle = RequestCycle.get(); // logging goes here } } But RequestCycle.get() returns null. I will appreciate any suggestions. Tha

Re: Customizing logging

2008-02-07 Thread Igor Vaynberg
weird. i dont use jdk logging so i dont think i will be able to help you much. perhaps you should set a breakpoint on handler.setFormatter() and see if anything else calls it _after_ your code has executed. -igor On Feb 7, 2008 11:41 AM, Fabrizio Giudici <[EMAIL PROTECTED]> wrote: > &g

Re: Customizing logging

2008-02-07 Thread Fabrizio Giudici
On 07/feb/08, at 20:36, Igor Vaynberg wrote: do you have slf4j adapter for jdk logging jar? http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html Yes, I've added it when I upgraded to 1.3.0 (I bet that without it I wouldn't have any logging at all from Wicket). But I

Re: Customizing logging

2008-02-07 Thread Igor Vaynberg
do you have slf4j adapter for jdk logging jar? http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html -igor On Feb 7, 2008 5:13 AM, Fabrizio Giudici <[EMAIL PROTECTED]> wrote: > Ok, that's really silly. In my application I use java.util.logging > (and I need/want to u

Customizing logging

2008-02-07 Thread Fabrizio Giudici
Ok, that's really silly. In my application I use java.util.logging (and I need/want to use it, since some external components use it). For all the projects I've developed in every contest, from JSP to JSF to Swing etc... I've always used a custom logging formatter that puts

Re: Custom logging system conflict with restoring sessions

2008-01-10 Thread Scott Sauyet
that loads a separate properties file. It took me a while to figure a way to do this so that my configuration would run before any Wicket logging calls were done (more precisely, before log4j's configuration is run.) But I managed to do it by running that configuration in the init() o

Re: Custom logging system conflict with restoring sessions

2008-01-08 Thread Scott Sauyet
Exactly. I do want to allow that. And until this issue that was never a problem. I could restart the server and continue where I was in the application. But I think I would sacrifice that if I could for my logging issue. -- Scott Nick Heudecker wrote: Do you mean if a Wicket component

Re: Custom logging system conflict with restoring sessions

2008-01-08 Thread Nick Heudecker
'm using a custom extension to log4j's FileAppender. I need to > configure this in a class that loads a separate properties file. It > took me a while to figure a way to do this so that my configuration > would run before any Wicket logging calls were done (more precisely, > befo

Custom logging system conflict with restoring sessions

2008-01-08 Thread Scott Sauyet
so that my configuration would run before any Wicket logging calls were done (more precisely, before log4j's configuration is run.) But I managed to do it by running that configuration in the init() of a separate servlet that loads before Wicket's. This works fine, but occasionally

Re: Logging to a File

2007-10-24 Thread Suad AlShamsi
Thanks Jan Kriesten wrote: How can I log to a file using log4j?! documentation is found here: http://slf4j.org/ there's a wrapped implementation for log4j. regards, --- jan. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Logging to a File

2007-10-24 Thread Jan Kriesten
> How can I log to a file using log4j?! documentation is found here: http://slf4j.org/ there's a wrapped implementation for log4j. regards, --- jan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Logging to a File

2007-10-24 Thread alshamsi
Hi All, How can I log to a file using log4j?! -- View this message in context: http://www.nabble.com/Logging-to-a-File-tf4682704.html#a13380693 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe

Re: AbstractMethodError in logging

2007-10-23 Thread Sasha O
John -- Thanks for the quick reply. That did it! -- Sasha John Krasnay wrote: On Tue, Oct 23, 2007 at 09:49:25AM -0700, Sasha O wrote: Hello Wicket people -- Love the framework so far. Getting this message, have no idea how to deal with it: <<< Exception in thread "ModificationWatcher Task

Re: AbstractMethodError in logging

2007-10-23 Thread John Krasnay
On Tue, Oct 23, 2007 at 09:49:25AM -0700, Sasha O wrote: > Hello Wicket people -- > > Love the framework so far. > > Getting this message, have no idea how to deal with it: > > <<< > Exception in thread "ModificationWatcher Task" > java.lang.AbstractMethodError: > org.slf4j.impl.Log4jLoggerAda

AbstractMethodError in logging

2007-10-23 Thread Sasha O
Hello Wicket people -- Love the framework so far. Getting this message, have no idea how to deal with it: <<< Exception in thread "ModificationWatcher Task" java.lang.AbstractMethodError: org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled()Z at org.apache.wicket.util.thread.Task$1.run(