|
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + ThingsBoard, Inc. ("COMPANY") CONFIDENTIAL |
| 5 | +
|
| 6 | + Copyright © 2016-2025 ThingsBoard, Inc. All Rights Reserved. |
| 7 | +
|
| 8 | + NOTICE: All information contained herein is, and remains |
| 9 | + the property of ThingsBoard, Inc. and its suppliers, |
| 10 | + if any. The intellectual and technical concepts contained |
| 11 | + herein are proprietary to ThingsBoard, Inc. |
| 12 | + and its suppliers and may be covered by U.S. and Foreign Patents, |
| 13 | + patents in process, and are protected by trade secret or copyright law. |
| 14 | +
|
| 15 | + Dissemination of this information or reproduction of this material is strictly forbidden |
| 16 | + unless prior written permission is obtained from COMPANY. |
| 17 | +
|
| 18 | + Access to the source code contained herein is hereby forbidden to anyone except current COMPANY employees, |
| 19 | + managers or contractors who have executed Confidentiality and Non-disclosure agreements |
| 20 | + explicitly covering such access. |
| 21 | +
|
| 22 | + The copyright notice above does not evidence any actual or intended publication |
| 23 | + or disclosure of this source code, which includes |
| 24 | + information that is confidential and/or proprietary, and is a trade secret, of COMPANY. |
| 25 | + ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, PUBLIC PERFORMANCE, |
| 26 | + OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT |
| 27 | + THE EXPRESS WRITTEN CONSENT OF COMPANY IS STRICTLY PROHIBITED, |
| 28 | + AND IN VIOLATION OF APPLICABLE LAWS AND INTERNATIONAL TREATIES. |
| 29 | + THE RECEIPT OR POSSESSION OF THIS SOURCE CODE AND/OR RELATED INFORMATION |
| 30 | + DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR DISTRIBUTE ITS CONTENTS, |
| 31 | + OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE, IN WHOLE OR IN PART. |
| 32 | +
|
| 33 | +--> |
| 34 | +<!DOCTYPE configuration> |
| 35 | +<configuration scan="true" scanPeriod="10 seconds"> |
| 36 | + |
| 37 | + <appender name="fileLogAppender" |
| 38 | + class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| 39 | + <file>/var/log/edqs/${TB_SERVICE_ID}/tb-edqs.log</file> |
| 40 | + <rollingPolicy |
| 41 | + class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> |
| 42 | + <fileNamePattern>/var/log/edqs/tb-edqs.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
| 43 | + <maxFileSize>100MB</maxFileSize> |
| 44 | + <maxHistory>30</maxHistory> |
| 45 | + <totalSizeCap>3GB</totalSizeCap> |
| 46 | + </rollingPolicy> |
| 47 | + <encoder> |
| 48 | + <pattern>%d{ISO8601} [%thread] %-5level %logger{36} - %msg%n</pattern> |
| 49 | + </encoder> |
| 50 | + </appender> |
| 51 | + |
| 52 | + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 53 | + <encoder> |
| 54 | + <pattern>%d{ISO8601} [%thread] %-5level %logger{36} - %msg%n</pattern> |
| 55 | + </encoder> |
| 56 | + </appender> |
| 57 | + |
| 58 | + <logger name="org.thingsboard.server" level="INFO" /> |
| 59 | + <logger name="org.thingsboard.server.edqs" level="TRACE" /> |
| 60 | + <logger name="org.apache.kafka.clients" level="WARN"/> |
| 61 | + |
| 62 | + <root level="INFO"> |
| 63 | + <appender-ref ref="fileLogAppender"/> |
| 64 | + <appender-ref ref="STDOUT"/> |
| 65 | + </root> |
| 66 | + |
| 67 | +</configuration> |
0 commit comments