mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-30 03:18:24 +00:00
- When loading dataset fields in staging table, populate the dateset_id field first then use this in later JOIN. - When JOIN two big tables such as dict_field_detail, use pre-select to reduce table JOIN size and DB resource. - Refactor some SQL code. - Modify logback setting to better capture log time. - Remove unnecessary config in backend application.conf
38 lines
1.1 KiB
XML
38 lines
1.1 KiB
XML
<!--
|
|
|
|
Copyright 2015 LinkedIn Corp. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
-->
|
|
<configuration>
|
|
|
|
<conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel" />
|
|
|
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
<encoder>
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n</pattern>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<!--
|
|
The logger name is typically the Java/Scala package name.
|
|
This configures the log level to log at for a package and its children packages.
|
|
-->
|
|
<logger name="play" level="INFO" />
|
|
<logger name="application" level="DEBUG" />
|
|
|
|
<root level="ERROR">
|
|
<appender-ref ref="STDOUT" />
|
|
</root>
|
|
|
|
</configuration>
|