Project

General

Profile

« Previous | Next » 

Revision 5165

Added by daigle about 15 years ago

add method name to log messages and create configured thresholds for warning messages

View differences:

metacat.properties
73 73
database.maximumConnectionAge=120000
74 74
database.maximumConnectionTime=60000
75 75
database.maximumUsageNumber=100
76
database.connectionCountWarnLimit=15
76 77
database.numberOfIndexingThreads=5
77 78
database.indexingTimerTaskTime=604800000
78 79
database.indexingInitialDelay=3600000
......
97 98
database.queryresultCacheSize=500
98 99
#turn on or off the query result cache
99 100
database.queryCacheOn=true
101
#the time in milliseconds that an squery can run before metacat logs a warning
102
database.queryTimeWarnLimit=30000
103
#the time in milliseconds that an squery can run before metacat logs a warning
104
database.squeryTimeWarnLimit=30000
100 105

  
106

  
107
######## DB Query section              #######################################
108
#the time in milliseconds that a stylesheet transform can run before metacat logs a warning
109
dbquery.transformTimeWarnLimit=60000
110
#the time in milliseconds to get a document list before metacat logs a warning
111
dbquery.findDocListTimeWarnLimit=60000
112
#the time in milliseconds to get return values from queryresults table before metacat logs a warning
113
dbquery.findQueryResultsTimeWarnLimit=60000
114
#the time in milliseconds to run extended (index and node) queries before metacat logs a warning
115
dbquery.extendedQueryRunTimeWarnLimit=60000
116
#the time in milliseconds to store return fields before metacat logs a warning
117
dbquery.storeReturnFieldTimeWarnLimit=60000
118
#the time in milliseconds to totally process return fields before metacat logs a warning
119
dbquery.totalReturnFieldTimeWarnLimit=120000
120

  
101 121
######## Datamanager section              #######################################
102 122
datamanager.adapter=PostgresAdapter
103 123
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool

Also available in: Unified diff