At 09:58 AM 4/20/2004, Stefan Preuss wrote:
Helo,
I'm developing an Web application based on JSP/Servlet/Bean. Up to now I'm
using my own logger(s). Now I want to take advantage of log4j.
For some simple java tools I changed before, log4j works fine. But in this
case I have some trouble with th
At 09:58 AM 4/20/2004, you wrote:
Helo,
[snip]
The application uses a session concept. The user starts with a login page
(a servlet) which do some initial stuff. Then, when she entered her name
and password the request is send to the menu (JSP) which uses a session
bean what does the login. Now
At 21:02 23.04.2004, Ceki Gülcü wrote:
>At 09:58 AM 4/20/2004, Stefan Preuss wrote:
>>Helo,
>>
>>I'm developing an Web application based on JSP/Servlet/Bean. Up to now I'm using my
>>own logger(s). Now I want to take advantage of log4j.
>>
>>For some simple java tools I changed before, log4j works
Hi all
i just downloaded and compiled chainsaw. looks fine but i cant
find the "QuickRefence and Tutorial viewable from within the GUI"
(as promissed on the home page) where can i find it ?
thx & EOF
Bost
PS: of course i learn in trial-error method but recently i realised
the RTFM method work
When you first startup up Chainsaw v2 you are shown the "Welcome" tab.
Within that tab, it has it's own mini-toolbar with a "Tutorial" button.
You can also get access to the Tutorial through the Help menu
cheers,
(You did download Chainsaw v2, right?)
Paul Smith
-Original Message-
We have a "base servlet" that all other servlets extend and so we do that
kind of think in that servlet.
James Stauffer
-Original Message-
From: Stefan Preuss [mailto:[EMAIL PROTECTED]
Sent: Monday, April 26, 2004 1:08 AM
To: Log4J Users List
Subject: RE: Globally MDC.put/remove for ho
hi,
i need to have a separate log files for error,info and debug for my application.how do
i set it in property file of log4j
regards
guru
Quoting Guruprasanth <[EMAIL PROTECTED]>:
> hi,
> i need to have a separate log files for error,info and debug for my
> application.how do i set it in property file of log4j
>
> regards
> guru
http://wiki.apache.org/logging-log4j/Log4JProjectPages/LogByLevel
Jake
Hi guys,
I am a newbie to log4j. I quickly looked through log4j and it really looks great and I
amazed by its flexibility. I am having a web application and I have a bunch of users
20 -25..using it. I would like to be able to have one log file per user..with an
option to configure the users in a
You could do:
Logger log = Logger.getLogger(username);
Log.info("User: " + username);
James Stauffer
-Original Message-
From: Srinivas Kotamraju [mailto:[EMAIL PROTECTED]
Sent: Monday, April 26, 2004 12:45 PM
To: [EMAIL PROTECTED]
Subject: logging per user
Hi guys,
I am a newbie to l
An alternative means would be to use NDC.
So your logging methods would look the same as before:
private static final Logger logger =
Logger.getLogger(TheCurrentClass.class);
if (logger.isInfoEnabed()) {
...
}
But before any logs are created for the current request, identify the
curre
I would work backwards. Unique logs files are created by unique appenders.
As far as I know a file appender can only write to a single file; therefore,
you require unique appenders for each unique, username based, log file you
wish to write to. I believe that such an architecture is resource
contst
12 matches
Mail list logo