chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiaqi Tan <tanji...@gmail.com>
Subject Problems getting logging to work in unit tests
Date Tue, 15 Sep 2009 03:06:29 GMT
Hi,

I'm running into a problem getting the logging in the unit tests. I
keep getting this error message:

java.io.FileNotFoundException: /chukwa.log (Permission denied)

The CHUKWA_LOG_DIR environment variable has already been set in
build.xml in the test-chukwa target, and the hadoop.log.dir system
property has also been set in the first line in setUp() of my unit
test.

Any idea where log4J is trying to pick up the logging directory?

It seems the other unit tests that are already in trunk also suffer
from this problem.

Thanks,
Jiaqi

Mime
View raw message