Hope someone may know this as it seems to be a fairly common question on the internet but I have been unable to find the answer I am looking for - I have used Log4j in the past and have always managed to work with it but I am now using it with OpenAdapter.

log4j: No appenders could be found for category (some.category.name).
log4j: Please initialize the log4j system properly.

the solution to this that I have found is:
Log4j does not have a default logging target. It is the user's responsibility to ensure that all categories can inherit an appender. This can be easily achieved by attaching an appender to the root category.

All sounds very easy but how do I attach an appender to the root category - I presume this means tell it where to output the log i.e. to the console but how? Is this through a properties file and if so what are the settings?

Thanks for your help