chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Boulon <>
Subject Re: Problems getting logging to work in unit tests
Date Tue, 15 Sep 2009 16:17:16 GMT
Hi Jiaqi,
Are you loading the right
Make sure you have the right one in your classpath and if
You're using the default one in the conf directory then the default location
is ${CHUKWA_LOG_DIR}/chukwa.log.

So my guess is that ${CHUKWA_LOG_DIR} is not set.
Try to change ${CHUKWA_LOG_DIR}/chukwa.log to
${CHUKWA_LOG_DIR}/chukwaTest.log and if you have another / chukwaTest.log (Permission denied)
It's because of the variable.


On 9/14/09 8:06 PM, "Jiaqi Tan" <> wrote:

> Hi,
> I'm running into a problem getting the logging in the unit tests. I
> keep getting this error message:
> /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

View raw message