01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package org.huihoo.jfox.logging;
09:
10: /**
11: *
12: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
13: */
14:
15: public interface LogManagerMBean {
16:
17: public final static String OBJECT_NAME = "Logger:name=LogManager";
18:
19: /**
20: * set the Level of rootLogger
21: */
22: public void setLevel(String level);
23:
24: public String getLevel();
25:
26: /**
27: * set appender pattern of the rootLogger
28: */
29: public void setPattern(String appenderName, String pattern);
30:
31: public String getPattern(String appenderName);
32:
33: /**
34: * LogerManager.resetConfig & reset the root default appender
35: */
36: public void reset();
37:
38: }
|