diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-02-14 15:51:42 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-02-14 15:51:56 +0800 |
commit | 1c364623b8cf9e75028fc8d22d0246e2a8fce412 (patch) | |
tree | 3314e15220b62c2780acd5097360a8c1cd88d124 /logging-sdk/src/main/java/org/openo/log/impl/LogConst.java | |
parent | 6bc999e15dab73292e847f25385fcb52aaaba502 (diff) |
Add Logging sdk
issue-Id:OCS-163
Change-Id: I7bf752ad425fddb0bd0f84a3a07d5489074560ac
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'logging-sdk/src/main/java/org/openo/log/impl/LogConst.java')
-rw-r--r-- | logging-sdk/src/main/java/org/openo/log/impl/LogConst.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/logging-sdk/src/main/java/org/openo/log/impl/LogConst.java b/logging-sdk/src/main/java/org/openo/log/impl/LogConst.java new file mode 100644 index 0000000..1e45313 --- /dev/null +++ b/logging-sdk/src/main/java/org/openo/log/impl/LogConst.java @@ -0,0 +1,37 @@ +/** + * Copyright 2017 ZTE Corporation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.openo.log.impl; + +public class LogConst { + private LogConst() { + + } + + public final static int CMD_LOG_FLAG = 1; + public final static int SYS_LOG_FLAG = 2; + public final static int SECRET_LOG_FLAG = 3; + + public final static String AUDITLOG_OPERATION = "auditlog_operation"; + public final static String AUDITLOG_SECURITY = "auditlog_security"; + public final static String AUDITLOG_SYSTEM = "auditlog_system"; + + public final static String OPERLOG_TYPE = "operlog"; + public final static String SERLOG_TYPE = "seclog"; + public final static String SYSLOG_TYPE = "syslog"; + + + +} |