v1.3
xueli.xue 9 years ago
parent 3e22931db8
commit e5f7dbf6f6

@ -12,7 +12,7 @@
<context:component-scan base-package="com.xxl.job.executor" /> <context:component-scan base-package="com.xxl.job.executor" />
<!-- 执行器 --> <!-- 执行器 -->
<bean id="xxlJobJettyServer" class="com.xxl.job.core.executor.jetty.XxlJobExecutor" init-method="start"> <bean id="xxlJobExecutor" class="com.xxl.job.core.executor.jetty.XxlJobExecutor" init-method="start">
<property name="port" value="9999" /> <property name="port" value="9999" />
</bean> </bean>

@ -33,17 +33,18 @@
<appender-ref ref="FILE" /> <appender-ref ref="FILE" />
<appender-ref ref="xxl-job"/> <appender-ref ref="xxl-job"/>
</root> </root>
<logger name="com.xxl.job.service.handler" additivity="false"> <logger name="com.xxl.job.core" additivity="false">
<level value="INFO" /> <level value="INFO" />
<appender-ref ref="CONSOLE" /> <appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" /> <appender-ref ref="FILE" />
<appender-ref ref="xxl-job"/> <appender-ref ref="xxl-job"/>
</logger> </logger>
<logger name="com.xxl.job.client" additivity="false"> <logger name="com.xxl.job.executor.service.jobhandler" additivity="false">
<level value="INFO" /> <level value="INFO" />
<appender-ref ref="CONSOLE" /> <appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" /> <appender-ref ref="FILE" />
<appender-ref ref="xxl-job"/> <appender-ref ref="xxl-job"/>
</logger> </logger>
</log4j:configuration> </log4j:configuration>
Loading…
Cancel
Save