warlord902 9 Junior Poster

I configured a logger namely "My Log" in my main class which can write errors in a log file named mylog.txt
Now I want to use this same file for all packages and classes there in. I tried to put this in other class

Logger.getLogger("My Log") //Did nothing

Now what should I do to get out of this problem?