你的class的package是tips,class名是LogTip;
tips.LogTip不就是指的这个class吗?

解决方案 »

  1.   

    原文位置:
    http://www.zdnet.com.cn/developer/code/story/0,2000081534,39225509,00.htm另外还有一篇文章是
    static Logger testLog = Logger.getLogger("test.log");
    包名不是test,类名也不是log
    原文位置
    http://www.javaresearch.org/article/showarticle.jsp?column=545&thread=9715
      

  2.   

    public static Logger getLogger(String name)
    Parameters:
    name - A name for the logger. This should be a dot-separated name and should normally be based on the package name or class name of the subsystem, such as java.net or javax.swing