Skip to content

Commit

Permalink
HPCC-31774 Implement API logging, hiding, deleting and querying globa…
Browse files Browse the repository at this point in the history
…l messages

Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed May 14, 2024
1 parent 782f6b3 commit a414935
Show file tree
Hide file tree
Showing 5 changed files with 690 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ HPCC_ADD_SUBDIRECTORY (pkgfiles)
HPCC_ADD_SUBDIRECTORY (workunit)
HPCC_ADD_SUBDIRECTORY (wuanalysis)
HPCC_ADD_SUBDIRECTORY (wuwebview "PLATFORM")
HPCC_ADD_SUBDIRECTORY (sysinfologger)
58 changes: 58 additions & 0 deletions common/sysinfologger/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
################################################################################
# HPCC SYSTEMS software Copyright (C) 2024 HPCC Systems®.
#
# 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.
################################################################################


# File : CMakeLists.txt
# Component: sysinfologger
#####################################################
# Description:
# ------------
# Cmake input file for sysinfologger
#####################################################

project ( sysinfologger )

set ( SRCS
sysinfologger.cpp

sysinfologger.hpp
)

include_directories (
${HPCC_SOURCE_DIR}/system/jlib
${HPCC_SOURCE_DIR}/system/include
${HPCC_SOURCE_DIR}/system/jlog
${HPCC_SOURCE_DIR}/system/mp
${HPCC_SOURCE_DIR}/dali/base
${HPCC_SOURCE_DIR}/testing/unittests
)

ADD_DEFINITIONS( -DSYSINFOMSG_EXPORTS )

HPCC_ADD_LIBRARY( sysinfologger SHARED ${SRCS} )

target_link_libraries (
sysinfologger
jlib
dalibase
${CppUnit_LIBRARIES}
)

if ( USE_CPPUNIT )
target_link_libraries ( sysinfologger )
endif()

install ( TARGETS sysinfologger RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
26 changes: 26 additions & 0 deletions common/sysinfologger/sourcedoc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
################################################################################
# HPCC SYSTEMS software Copyright (C) 2024 HPCC Systems®.
#
# 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.
################################################################################
-->
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<section>
<title>common/sysinfologger</title>

<para>
The common/sysinfologger directory contains the sources for the common/sysinfologger library.
</para>
</section>
Loading

0 comments on commit a414935

Please sign in to comment.