You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2019/04/04 16:24:15 UTC

[asterixdb] branch master updated: [NO ISSUE] Don't generate trace log on CC

This is an automated email from the ASF dual-hosted git repository.

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 30fd09d  [NO ISSUE] Don't generate trace log on CC
30fd09d is described below

commit 30fd09ddf9f6f4eaffde6fac4f4b62c85fc674e1
Author: Michael Blow <mb...@apache.org>
AuthorDate: Thu Apr 4 09:52:07 2019 -0400

    [NO ISSUE] Don't generate trace log on CC
    
    Change-Id: Ic6d7e55ef7dd4af16a77167a400b0c6ab4cb23cb
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/3318
    Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Murtadha Hubail <mh...@apache.org>
    Reviewed-by: Ian Maxon <im...@uci.edu>
---
 .../org/apache/hyracks/control/cc/CCLogConfigurationFactory.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/CCLogConfigurationFactory.java b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/CCLogConfigurationFactory.java
index 98e0245..22dea9f 100644
--- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/CCLogConfigurationFactory.java
+++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/CCLogConfigurationFactory.java
@@ -68,15 +68,6 @@ public class CCLogConfigurationFactory extends ConfigurationFactory {
         builder.add(builder.newLogger("org.apache.hyracks.http.server.CLFLogger", Level.forName("ACCESS", 550))
                 .add(builder.newAppenderRef("access")).addAttribute("additivity", false));
 
-        LayoutComponentBuilder traceLayout = builder.newLayout("PatternLayout").addAttribute("pattern", "%m,%n")
-                .addAttribute("header", "[").addAttribute("footer", "]");
-        AppenderComponentBuilder traceRoll =
-                builder.newAppender("trace", "RollingFile").addAttribute("fileName", logDir + "trace-cc.log")
-                        .addAttribute("filePattern", logDir + "trace-cc-%d{MM-dd-yy-ss}.log.gz").add(traceLayout)
-                        .addComponent(triggeringPolicy);
-        builder.add(traceRoll);
-        builder.add(builder.newLogger("org.apache.hyracks.util.trace.Tracer.Traces", Level.forName("TRACER", 570))
-                .add(builder.newAppenderRef("trace")).addAttribute("additivity", false));
         return builder.build();
     }