Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame^] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # ONAP-REST |
| 4 | # ================================================================================ |
| 5 | # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END========================================================= |
| 19 | ### |
| 20 | |
| 21 | ################################### Set concurrentHashMap and timer info ####################### |
| 22 | #Timer initial delay and the delay between in milliseconds before task is to be execute. |
| 23 | timer.delay.time=1000 |
| 24 | #Timer scheduleAtFixedRate period - time in milliseconds between successive task executions. |
| 25 | check.interval= 30000 |
| 26 | #Longest time an event info can be stored in the concurrentHashMap for logging - in seconds. |
| 27 | event.expired.time=86400 |
| 28 | #Size of the concurrentHashMap which stores the event starting time, etc - when its size reaches this limit, the Timer gets executed |
| 29 | #to remove all expired records from this concurrentHashMap. |
| 30 | concurrentHashMap.limit=5000 |
| 31 | #Size of the concurrentHashMap - when its size drops to this point, stop the Timer |
| 32 | stop.check.point=2500 |
| 33 | ################################### Set logging format ############################################# |
| 34 | # set EELF for EELF logging format, set LOG4J for using log4j, set SYSTEMOUT for using system.out.println |
| 35 | logger.type=EELF |
| 36 | #################################### Set level for EELF or SYSTEMOUT logging ################################## |
| 37 | # Set level for debug file. Set DEBUG to enable .info, .warn and .debug; set INFO for enable .info and .warn; set OFF to disable all |
| 38 | debugLogger.level=INFO |
| 39 | # Set level for metrics file. Set OFF to disable; set ON to enable |
| 40 | metricsLogger.level=ON |
| 41 | # Set level for error file. Set OFF to disable; set ON to enable |
| 42 | error.level=ON |
| 43 | # Set level for audit file. Set OFF to disable; set ON to enable |
| 44 | audit.level=ON |