2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.common.log.api;
23 public interface ILogConfiguration {
24 String MDC_KEY_REQUEST_ID = "RequestId";
25 String MDC_SERVICE_INSTANCE_ID = "ServiceInstanceId";
26 String MDC_SERVICE_NAME = "ServiceName";
27 String MDC_INSTANCE_UUID = "InstanceUUID";
28 String MDC_SERVER_IP_ADDRESS = "ServerIPAddress";
29 String MDC_SERVER_FQDN = "ServerFQDN";
30 String MDC_REMOTE_HOST = "RemoteHost";
31 String MDC_AUDIT_MESSAGE = "AuditMessage";
32 String MDC_ALERT_SEVERITY = "AlertSeverity";
33 String MDC_AUDIT_BEGIN_TIMESTAMP = "AuditBeginTimestamp";
34 String MDC_METRIC_BEGIN_TIMESTAMP = "MetricBeginTimestamp";
35 String MDC_END_TIMESTAMP = "EndTimestamp";
36 String MDC_PARTNER_NAME = "PartnerName";
37 String MDC_STATUS_CODE = "StatusCode";
38 String MDC_RESPONSE_CODE = "ResponseCode";
39 String MDC_RESPONSE_DESC = "ResponseDescription";
40 String MDC_ELAPSED_TIME = "ElapsedTime";
41 String MDC_PROCESS_KEY = "ProcessKey";
42 String MDC_TARGET_ENTITY = "TargetEntity";
43 String MDC_TARGET_SERVICE_NAME = "TargetServiceName";
44 String MDC_TARGET_VIRTUAL_ENTITY = "TargetVirtualEntity";
45 String MDC_ERROR_CATEGORY = "ErrorCategory";
46 String MDC_ERROR_CODE = "ErrorCode";
47 String MDC_ERROR_DESC = "ErrorDescription";
48 String MDC_CLASS_NAME = "ClassName";
49 String MDC_OPT_FIELD1 = "CustomField1";
50 String MDC_OPT_FIELD2 = "CustomField2";
51 String MDC_OPT_FIELD3 = "CustomField3";
52 String MDC_OPT_FIELD4 = "CustomField4";