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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top