<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info">
    <Properties>
        <Property name="log-path">./log</Property>
    </Properties>
  
    <Appenders>
        <Console name="STDOUT" target="SYSTEM_OUT">
            <PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %logger{36}.%M(%L) - %msg%n"/>
        </Console>
    
        <RollingFile name="RollingFile" fileName="${log-path}/execute-sql.log" filePattern="${log-path}/execute-sql-%d{yyyy-MM-dd}-%i.log">
            <PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %logger{36}.%M(%L) - %msg%n"/>
            <Policies>
                <TimeBasedTriggeringPolicy interval="1" modulate="true"/>
                <SizeBasedTriggeringPolicy size="5 MB" />
            </Policies>
        </RollingFile>
    </Appenders>
  
    <Loggers>
        <Root level="debug">
            <AppenderRef ref="STDOUT" level="off"/>
            <AppenderRef ref="RollingFile" />
        </Root>
    </Loggers>
</Configuration>
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info">
    <Properties>
        <Property name="log-path">./log</Property>
    </Properties>
  
    <Appenders>
        <Console name="STDOUT" target="SYSTEM_OUT">
            <PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %logger{36}.%M(%L) - %msg%n"/>
        </Console>
    
        <RollingFile name="RollingFile" fileName="${log-path}/sqlplus.log" filePattern="${log-path}/sqlplus-%d{yyyy-MM-dd}-%i.log">
            <PatternLayout pattern="[%d{MM-dd-yyyy HH:mm:ss.SSS}] [%t] %-5level %logger{36}.%M(%L) - %msg%n"/>
            <Policies>
                <TimeBasedTriggeringPolicy interval="1" modulate="true"/>
                <SizeBasedTriggeringPolicy size="5 MB" />
            </Policies>
        </RollingFile>
    </Appenders>
  
    <Loggers>
        <Root level="debug">
            <AppenderRef ref="STDOUT" level="off"/>
            <AppenderRef ref="RollingFile" />
        </Root>
    </Loggers>
</Configuration>
Change the name of the log file
Change the name of the log file
