File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
core/src/main/scala/org/apache/spark/util/logging Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,16 @@ private[spark] object FileAppender extends Logging {
125125 val validatedParams : Option [(Long , String )] = rollingInterval match {
126126 case " daily" =>
127127 logInfo(s " Rolling executor logs enabled for $file with daily rolling " )
128- Some (24 * 60 * 60 * 1000L , " --YYYY -MM-dd" )
128+ Some (24 * 60 * 60 * 1000L , " --yyyy -MM-dd" )
129129 case " hourly" =>
130130 logInfo(s " Rolling executor logs enabled for $file with hourly rolling " )
131- Some (60 * 60 * 1000L , " --YYYY -MM-dd--HH" )
131+ Some (60 * 60 * 1000L , " --yyyy -MM-dd--HH" )
132132 case " minutely" =>
133133 logInfo(s " Rolling executor logs enabled for $file with rolling every minute " )
134- Some (60 * 1000L , " --YYYY -MM-dd--HH-mm" )
134+ Some (60 * 1000L , " --yyyy -MM-dd--HH-mm" )
135135 case IntParam (seconds) =>
136136 logInfo(s " Rolling executor logs enabled for $file with rolling $seconds seconds " )
137- Some (seconds * 1000L , " --YYYY -MM-dd--HH-mm-ss" )
137+ Some (seconds * 1000L , " --yyyy -MM-dd--HH-mm-ss" )
138138 case _ =>
139139 logWarning(s " Illegal interval for rolling executor logs [ $rollingInterval], " +
140140 s " rolling logs not enabled " )
You can’t perform that action at this time.
0 commit comments