Skip to content

Commit

Permalink
[SCB-1725]mute some logs to make travis CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
liubao68 committed Jan 22, 2020
1 parent a5c91e6 commit d294674
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 4 deletions.
Expand Up @@ -287,7 +287,7 @@ public void afterRegistryInstance(MicroserviceInstanceRegisterTask microserviceI
status = SCBStatus.UP;
triggerEvent(EventType.AFTER_REGISTRY);
EventManager.unregister(this);
LOGGER.info("ServiceComb is ready.");
LOGGER.warn("ServiceComb is ready.");
}
}
});
Expand Down
Expand Up @@ -167,7 +167,7 @@ synchronized void updateFinalValue(boolean init) {
LOGGER.debug("config inited, \"{}\" set to {}, effective key is \"{}\".",
joinedPriorityKeys, value, effectiveKey);
} else {
LOGGER.info("config changed, \"{}\" changed from {} to {}, effective key is \"{}\".",
LOGGER.debug("config changed, \"{}\" changed from {} to {}, effective key is \"{}\".",
joinedPriorityKeys, finalValue, value, effectiveKey);
}
finalValue = value;
Expand Down
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You 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.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<configuration scan="true">
<jmxConfigurator/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d [%level] [%thread][%marker] - %msg (%F:%L\)%n</pattern>
</encoder>
</appender>
<logger name="org.apache.servicecomb.common.javassist.JavassistUtils" level="WARN"/>
<logger name="org.apache.servicecomb.core.definition.schema.ProducerSchemaFactory" level="WARN"/>
<root level="WARN">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
Expand Up @@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
log4j.logger.runLogger=INFO
log4j.rootLogger=INFO,paas,stdout
log4j.logger.runLogger=WARN
log4j.rootLogger=WARN,paas,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You 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.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<configuration scan="true">
<jmxConfigurator/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d [%level] [%thread][%marker] - %msg (%F:%L\)%n</pattern>
</encoder>
</appender>
<logger name="org.apache.servicecomb.common.javassist.JavassistUtils" level="WARN"/>
<logger name="org.apache.servicecomb.core.definition.schema.ProducerSchemaFactory" level="WARN"/>
<root level="WARN">
<appender-ref ref="STDOUT"/>
</root>
</configuration>

0 comments on commit d294674

Please sign in to comment.