I read in a mesg on this list yesterday something about a JDBCAppender
Is there something like this (it's not part of the Distribution) because I work on a
JDBCAppender at the moment and don't want to invent the wheel twice ;-)
Bye Simon
Are Japanese caharcaters logged in log file.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Are Japanese caharcaters logged in log file.
Yes, you can. But there is no way to specify the character
encoding for appenders, and log4j always uses system default
(so it must be set Shift-JIS etc).
It's pretty easy hack to add a method to set the encoding.
-
HIRATA Tadashi
[EMAIL
Hi,
I tried logging japanese caharacters but it logged ??? and some japanese
characters.
Could you please tell me how to go about it
Would be quite grateful
Regards,
Mugdhaa
-Original Message-
From: HIRATA Tadashi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 2:36 PM
To:
Hi,
I need to share one appender to different categories.
Example:
FileAppender A
Categories
C1 - Log.gui.windows.Main
C2 - Log.gui.windows.Sub
C3 - Log.core.utils.Calculator
I want to attach the appender A to categories C1 and C3. Each message of
these categories need to go to the same
Hii,
now I will contribute something more useful [:-)]
Here is a live template for IDE IntelliJ Idea.
If you install it, just type log4j plus your shortcut
key (tab,enter,space - as defined in options).
It will automatically create new Category with
this class name filled in. Very handy.
Yes, there is a JDBCAppender. But, it does not come packaged in log4j.jar.
Look in log4j's /contribs/LeosLiterak/KevinSteppe directory. You will find
the JDBCAppender.java file in there. To use it, you need to compile it and
add the class file to the log4j.jar (make sure the path is
Is there a way to explicity set a category's parent using the API? I don't
want to explicity put entries in my log4j.properties file for each class I
create a category for. This seems way too much work and unmanagable. I
want all my categories using the same Appender.
I've wrapped Category in
Is there a way to explicity set a category's parent using the API? I
don't
want to explicity put entries in my log4j.properties file for each class I
create a category for. This seems way too much work and unmanagable. I
want all my categories using the same Appender.
...
I want to have
Dan
doh!
I must have read that 4 or 5 times in the documentation but for some reason
I couldn't make the connection between X.Y.Z with com.mycompany.classA
thanks for the kick in the butt - everything is working fine now.
-Original Message-
From: Dan Lipofsky [mailto:[EMAIL
10 matches
Mail list logo