How to use log4j in applet?

Hi everyone,

I would like to use log4j in an applet. Unfortunately I couldn't find any

example.

Is there any documentation which shows how to configure log4j with applets?

Or does somebody have an example for me (applet and log4j.xml) which shows how

to realize logging with log4j in an applet?

Thanks a lot in advance,

Baris

[378 byte] By [baris_yalcin] at [2007-9-30 18:33:44]
# 1
Remember that the applet runs on the client machine, and you won't be able to see the log or much less write to file (unless the user permits it)
xNemi at 2007-7-6 20:38:42 > top of Java-index,Administration Tools,Sun Connection...
# 2

> Remember that the applet runs on the client machine,

> and you won't be able to see the log or much less

> write to file (unless the user permits it)

Well, you can always write a custom appender that writes the log back to the server machine - you just need to have something listening on the server for these messages. You could probably even use the SyslogAppender if you have a syslog daemon on the server..

shankar.unni at 2007-7-6 20:38:42 > top of Java-index,Administration Tools,Sun Connection...