01: /*
02: * Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.wso2.esb.services.tos;
18:
19: /**
20: * Data object used by LogAdmin
21: */
22: public class LogConfigData {
23: /**
24: * log4j.properties file contents
25: */
26: private String logText;
27: /**
28: * log4j.rootCategory logger level e.g. DEBUG, INFO in log4j.properties
29: */
30: private String loggerLevelRoot;
31: /**
32: * log4j.logger.SERVICE_LOGGER logger level e.g. DEBUG, INFO in log4j.properties
33: */
34: private String loggerLevelService;
35: /**
36: * log4j.logger.TRACE_LOGGER logger level e.g. DEBUG, INFO in log4j.properties
37: */
38: private String loggerLevelTrace;
39:
40: public String getLogText() {
41: return logText;
42: }
43:
44: public void setLogText(String logText) {
45: this .logText = logText;
46: }
47:
48: public String getLoggerLevelRoot() {
49: return loggerLevelRoot;
50: }
51:
52: public void setLoggerLevelRoot(String loggerLevelRoot) {
53: this .loggerLevelRoot = loggerLevelRoot;
54: }
55:
56: public String getLoggerLevelService() {
57: return loggerLevelService;
58: }
59:
60: public void setLoggerLevelService(String loggerLevelService) {
61: this .loggerLevelService = loggerLevelService;
62: }
63:
64: public String getLoggerLevelTrace() {
65: return loggerLevelTrace;
66: }
67:
68: public void setLoggerLevelTrace(String loggerLevelTrace) {
69: this.loggerLevelTrace = loggerLevelTrace;
70: }
71:
72: }
|