Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 552b9496f -> cbf8fd07d


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7bab8387/core/sqf/conf/log4cxx.trafodion.auth.config
----------------------------------------------------------------------
diff --git a/core/sqf/conf/log4cxx.trafodion.auth.config 
b/core/sqf/conf/log4cxx.trafodion.auth.config
new file mode 100644
index 0000000..34f1dbd
--- /dev/null
+++ b/core/sqf/conf/log4cxx.trafodion.auth.config
@@ -0,0 +1,49 @@
+#
+# @@@ START COPYRIGHT @@@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
+# @@@ END COPYRIGHT @@@
+#
+
+# Define some default values that can be overridden by system properties
+trafodion.root.logger=INFO, authAppender
+trafodion.log.dir=${MY_SQROOT}/logs
+trafodion.log.filename.suffix=${TRAFODION_LOG_FILENAME_SUFFIX}
+
+# Define the root logger to the system property "trafodion.root.logger".
+log4j.rootLogger=${trafodion.root.logger}
+
+# Logging Threshold
+log4j.threshhold=ALL
+
+#
+# Daily Rolling File Appender
+#
+log4j.appender.authAppender=org.apache.log4j.RollingFileAppender
+log4j.appender.authAppender.file=${trafodion.log.dir}/dbsecurity${trafodion.log.filename.suffix}
+log4j.appender.authAppender.maxFileSize=100000000
+log4j.appender.authAppender.maxBackupIndex=1
+log4j.appender.authAppender.addPid=false
+log4j.appender.authAppender.layout=org.apache.log4j.PatternLayout
+log4j.appender.authAppender.layout.ConversionPattern=%d, %p, %c, %m%n
+log4j.appender.authAppender.Append=true
+
+# Custom Logging levels
+log4j.logger.AUTH.LDAP=ERROR, authAppender
+

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7bab8387/core/sqf/export/include/common/evl_sqlog_eventnum.h
----------------------------------------------------------------------
diff --git a/core/sqf/export/include/common/evl_sqlog_eventnum.h 
b/core/sqf/export/include/common/evl_sqlog_eventnum.h
index 3130e15..0d7d644 100644
--- a/core/sqf/export/include/common/evl_sqlog_eventnum.h
+++ b/core/sqf/export/include/common/evl_sqlog_eventnum.h
@@ -1404,7 +1404,8 @@ enum DB_SECURITY_EVENTID
     // dbaudit Errors
     DBS_AMQP_ERROR                              = 119003001,
 
-    // dbsevents Errors
+    // dbaudit info
+    DBS_AUTHENTICATION_ATTEMPT                  = 119004001,
 
     // SQL Errors
     DBS_SQL_ERROR                               = 119005001

Reply via email to