09th Aug2011

Enable Verity Debug Logging

by admin

Here is some steps to get some extra information out of Verity when using with ColdFusion, and something strange is happening. The debug info goes into the Verity logs, not the ColdFusion ones.

Info from an old email!

----------------
Create environment variables for
the user that Verity is running under:
VERITY_DIAG_ENABLE=1
VERITY_DIAG_DEBUG=1
VERITY_DIAG_COMP=k2idx,k2odk,locuni
------------------------------------------------------------
C\\:opt\\jrun4\\verity\\k2\\_nti40\\bin>rcadmin
-log C:rcadmin.log

K2Admin Server: localhost:9950
connected. Type ? for help.

RCADMIN - Verity, Inc. Version 5.5.0
rcadmin> hierarchyview
Service Type
[(a)dmin|(b)roker|(s)erver|(t)icket|(i)ndexServer|press enter for all]:
Hierarchy Info:
Admin Services:
Admin(1/1):

Alias : ColdFusionK2

ServerSpec : localhost:9950
 Description :
ColdFusion MX 7 Search Server

Type : Master Administration Server
------------------------------------------------------------
Server Services:
Server(1/1):
 Server level:
0

Alias : ColdFusionK2_server1

ServerSpec : localhost:9920
 Description :
ColdFusion K2Server
 Configured
State: Online

Collection(1/1):

Alias : testcollection

Description :

Access : Public

Configured State: Online
------------------------------------------------------------
Indexing Services:
Service(1/1):

Alias : ColdFusionK2_indexserver1
 ServerSpec :
localhost:9960
 Description: ColdFusion
K2 Index Server
 Configured
Service State: Online
rcadmin> statuslogset
Service
Alias:ColdFusionK2_indexserver1
Service Type For
"ColdFusionK2_indexserver1" [(a)dmin|(b)roker|(s)erver|(t)icket
|(i)ndexServer]:i
Nominal size (KB, 0 = default
300K)(300):
Verboseness (Fatal=0, Error=1,
Warning=2, Status=3 Verbose=4)(4):4
Save changes? [y|n]:y
<> SUCCESS
rcadmin>
----------------

Log files are in similar locations to following (last time I looked!)

  • cf_root/verity/Data/host/log/status.log
  • cf_root/verity/Data/host/diag/ColdFusionK2_indexserver1_5973/dump.log

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">