Changing the logging for the NISAPI probe

Document ID : KB000034646
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction

For the service_host NISAPI probe we set the logging the following way:

Navigate to <Nimsoft>\probes\service\service_host\catalinaBase\webapps\nisapi\WEB-INF\classes??
and edit the log4j.properties file there

?find:? log4j.rootLogger=INFO

change to: log4j.rootLogger=DEBUG

then the log will be in \catalinaBase\logs\nisapi\


For the UMP NISAPI probe we se the logging the following way:
Navigate to the <Nimsoft>\probes\service\wasp directory on the UMP machine
edit the wasp.cfg file there
Find the following section and change from:
??? <nisapi>
??????? reloadable = true
??????? cross_context = true
??????? <log>
??????????? <com.nimsoft.nisapi>
??????????????? loglevel = 1
??????????? </com.nimsoft.nisapi>
??????? </log>
??????? load_on_startup = true
??????? unpack_war = true
??????? path = /nisapi
??? </nisapi>

To:
??? <nisapi>
??????? reloadable = true
??????? cross_context = true
??????? <log>
??????????? <com.nimsoft.nisapi>
??????????????? loglevel = 5
??????????? </com.nimsoft.nisapi>
??????? </log>
??????? load_on_startup = true
??????? unpack_war = true
??????? path = /nisapi
??? </nisapi>


The log will be located in the <Nimsoft>\probes\service\wasp directory




Procedure