Unverified Commit 2c57e0b4 authored by Matt Pryor's avatar Matt Pryor Committed by GitHub
Browse files

Merge pull request #131 from rsmith013/rsmith/access_log_pipe

Added access log fifo pipe 
parents 8ce4fbd7 27bcbcfe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ spec:
              mkfifo /thredds/logs/fmrc.log
              mkfifo /thredds/logs/threddsServlet.log
              mkfifo /thredds/logs/cache.log
              mkfifo /thredds/logs/localhost_access_log.txt
          {{- with .Values.data.securityContext }}
          securityContext: {{ toYaml . | nindent 12 }}
          {{- end }}
@@ -140,7 +141,7 @@ spec:
            {{- end }}
        # Tail the log pipes
        {{- $topContext := . }}
        {{- range (list "serverStartup.log" "catalogInit.log" "httpout.log" "featureCollectionScan.log" "fmrc.log" "threddsServlet.log" "cache.log") }}
        {{- range (list "serverStartup.log" "catalogInit.log" "httpout.log" "featureCollectionScan.log" "fmrc.log" "threddsServlet.log" "cache.log" "localhost_access_log.txt") }}
        - name: thredds-log-{{ trimSuffix ".log" . | lower }}
          {{ include "esgf.deployment.image" (list $topContext $thredds.image) }}
          args:
+4 −1
Original line number Diff line number Diff line
@@ -172,7 +172,10 @@
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />
               pattern="combined"
               renameOnRotate="true"
               rotateable="false"
        />

      </Host>
    </Engine>