log4j and required security policy entries

J

jbl

Hi,

If I give java.policy file like this:
grant {
permission java.security.AllPermission;
};

the logging works fine. If I try to give a restricted security policy I just
get a message:

log4j:WARN No appenders could be found for logger (MyClass).
log4j:WARN Please initialize the log4j system properly.

Is somewhere a list of required security items that log4j requires?

//Jarmo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top