Merge "Initial delivery of helm charts to deploy mod2 components. Resolved all the...
[dcaegen2/platform.git] / oti / event-handler / etc / common_logger.config
1 # ================================================================================
2 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
16
17
18 # You may change this file while your program is running and CommonLogger will automatically reconfigure accordingly.
19 # Changing these parameters may leave old log files lying around.
20
21
22 #--- Parameters that apply to all logs
23 #
24 # rotateMethod:  time, size, stdout, stderr, none
25 #... Note:  the following two parameters apply only when rotateMethod=time
26 # timeRotateIntervalType:  S, M, H, D, W0 - W6, or midnight  (seconds, minutes, hours, days, weekday (0=Monday), or midnight UTC)
27 # timeRotateInterval:  >= 1  (1 means every timeRotateIntervalType, 2 every other, 3 every third, etc.)
28 #... Note:  the following parameter applies only when rotateMethod=size
29 # sizeMaxBytes:  >= 0  (0 means no limit, else maximum filesize in Bytes)
30 # backupCount:  >= 0  (Number of rotated backup files to retain.  If rotateMethod=time, 0 retains *all* backups.  If rotateMethod=size, 0 retains *no* backups.)
31 #
32 rotateMethod           = size
33 timeRotateIntervalType = midnight
34 timeRotateInterval     = 1
35 sizeMaxBytes           = 10000000
36 backupCount            = 4
37
38
39 #--- Parameters that define log filenames and their initial LogLevel threshold
40 #... Note:  CommonLogger will exit if your process does not have permission to write to the file.
41 #
42
43 error           = logs/error.log
44 errorLogLevel   = WARN
45 errorStyle      = error
46
47 metrics         = logs/metrics.log
48 metricsLogLevel = INFO
49 metricsStyle    = metrics
50
51 audit           = logs/audit.log
52 auditLogLevel   = INFO
53 auditStyle      = audit
54
55 debug           = logs/debug.log
56 debugLogLevel   = DEBUG
57 debugStyle      = debug