I see a log4j-tools.properties for nodetool. I wasn't able to see any logs generated. Did any one face this issue?
nodetool log4j
(7 posts) (2 voices)-
Posted 3 months ago #
-
Did you tweak this from the default? In other words, are you writing to a file, or is it still using stdout/stderr? Where there issues you would have expected to be logged?
Posted 3 months ago # -
Yes. I am writing to a file but nothing is written to the log file.
Posted 3 months ago # -
Answering my own post. There is no log4j implemented for nodetool. At least I did not find anything in the code.
Posted 3 months ago # -
Lol, yes I went down that path as well. Certainly nothing in NodeCmd.java, but I wasn't sure whether there was anything in any of the underlying code. So far I haven't found anything, which makes the defnition of that log4j config file kinda useless.
Posted 3 months ago # -
I guess you should remove it from all the tools where it is not used. It is very much misleading.
Posted 3 months ago # -
Yep, I will make a suggestion to the C* folks.
Posted 3 months ago #
Reply
You must log in to post.
