kailiu6 commented on pull request #10147:
URL: https://github.com/apache/druid/pull/10147#issuecomment-869527626


   @FrankChen021  Hi,   thanks for your replay,  I’m not in docker,  by maybe 
it's my problem .  I find me  lost a step:
   nohup $JAVA -Ddruid.node.type=$nodeType -Ddruid.log.path=$LOG_DIR `cat 
$CONF_DIR/$nodeType/jvm.config | xargs` -cp 
$CONF_DIR/_common:$CONF_DIR/$nodeType:$LIB_DIR/*:$HADOOP_CONF_DIR 
org.apache.druid.cli.Main server $nodeType >> /dev/null 2>&1 &
   
   I have changed old code  to above  and  is testing
   
   this is my log4j configuration:
    <RollingFile  name="RollingFileInfo" 
fileName="${sys:druid.log.path}/${sys:druid.node.type}.log"
                         
filePattern="${sys:druid.log.path}/${sys:druid.node.type}-%d{yyyyMMddHH}.log">
               <PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/>
               <Policies>
                   <TimeBasedTriggeringPolicy interval="1" modulate="true"/>
               </Policies>
               <DefaultRolloverStrategy>
                   <Delete basePath="${sys:druid.log.path}" maxDepth="1">
                       <IfFileName glob="${sys:druid.node.type}*.log" />
                       <IfLastModified age="3d" />
                   </Delete>
               </DefaultRolloverStrategy>
       </RollingFile>
       
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to