parent
05c00547f2
commit
abc45ea2fc
@ -0,0 +1,31 @@
|
||||
2022-04-06 15:12:02.996 INFO 13422 --- [main] n.e.AutomatedEvaluationApplication : Starting AutomatedEvaluationApplication using Java 1.8.0_202 on youyongshengdeMacBook-Pro.local with PID 13422 (/opt/company/zhiqing/workspace/automated_evaluation/target/classes started by youyongsheng in /opt/company/zhiqing/workspace/automated_evaluation)
|
||||
2022-04-06 15:12:02.999 INFO 13422 --- [main] n.e.AutomatedEvaluationApplication : The following 1 profile is active: "dev"
|
||||
2022-04-06 15:12:03.682 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2022-04-06 15:12:03.682 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
|
||||
2022-04-06 15:12:03.735 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 45 ms. Found 1 JPA repository interfaces.
|
||||
2022-04-06 15:12:03.750 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
|
||||
2022-04-06 15:12:03.751 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
|
||||
2022-04-06 15:12:03.764 INFO 13422 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface net.educoder.dao.AutoEvaParamConfigRepository. If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository.
|
||||
2022-04-06 15:12:03.765 INFO 13422 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 6 ms. Found 0 Redis repository interfaces.
|
||||
2022-04-06 15:12:04.214 INFO 13422 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8002 (http)
|
||||
2022-04-06 15:12:04.223 INFO 13422 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
|
||||
2022-04-06 15:12:04.223 INFO 13422 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.60]
|
||||
2022-04-06 15:12:04.375 INFO 13422 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
|
||||
2022-04-06 15:12:04.376 INFO 13422 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1321 ms
|
||||
2022-04-06 15:12:04.614 INFO 13422 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
|
||||
2022-04-06 15:12:05.221 INFO 13422 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
|
||||
2022-04-06 15:12:05.257 INFO 13422 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.7.Final
|
||||
2022-04-06 15:12:05.416 INFO 13422 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
|
||||
2022-04-06 15:12:05.566 INFO 13422 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL55Dialect
|
||||
2022-04-06 15:12:06.044 INFO 13422 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
|
||||
2022-04-06 15:12:06.053 INFO 13422 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
|
||||
2022-04-06 15:12:06.679 WARN 13422 --- [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
|
||||
2022-04-06 15:12:07.183 INFO 13422 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8002 (http) with context path ''
|
||||
2022-04-06 15:12:07.196 INFO 13422 --- [main] n.e.AutomatedEvaluationApplication : Started AutomatedEvaluationApplication in 4.633 seconds (JVM running for 5.161)
|
||||
2022-04-06 15:12:30.016 INFO 13422 --- [task-1] n.educoder.schedule.EvaCheckWarningTask : 自动化评测接口告警检查---------start
|
||||
2022-04-06 15:12:30.545 INFO 13422 --- [task-1] n.educoder.schedule.EvaCheckWarningTask : [{"buildId":"2198934","createTime":1648715828000,"extras":"{\n \"isPublished\": 0,\n \"containers\": \"W3siaW1hZ2UiOiJvcGVuamRrLXNzaDp2MS4wIiwiY3B1TGltaXQiOjIuMCwiY3B1UmVxdWVzdCI6MC4xLCJtZW1vcnlMaW1pdCI6IjEwMjRNIiwibWVtb3J5UmVxdWVzdCI6IjEwTSIsInJlc291cmNlTGltaXQiOiIxMDAwMEsiLCJzdGFydFRpbWUiOjE1LCJjbWRfcGFyYW1zIjoiL3N0YXJ0LnNoIiwidHlwZSI6Im1haW4ifV0=\",\n \"instanceChallenge\": \"1\",\n \"tpmScript\": \"true\",\n \"timeLimit\": 20,\n \"times\": 1,\n \"podType\": 2,\n \"resubmit\": false,\n \"trimBlank\": 1,\n \"content_modified\": 0\n}","id":1,"testCases":"W3siaW5wdXQiOiIxIiwib3V0cHV0IjoiMSIsIm1hdGNoUnVsZSI6ImZ1bGwiLCJ0eXBlIjowfV0=","tpiGitUrl":"aHR0cDovL3ByZS1naXQuZWR1Y29kZXIubmV0L21ocTJmaTN1eS9ibDd6bjR4azZtMjAyMjAzMzExMDA2MzEuZ2l0","tpiId":"579230","type":0}]
|
||||
2022-04-06 15:12:30.773 INFO 13422 --- [task-1] n.educoder.schedule.EvaCheckWarningTask : 实训评测接口返回:{"msg":"评测完成","code":0,"costTime":46,"port":-1,"waitNum":0,"ableToCreate":1},tpiId:579230
|
||||
2022-04-06 15:12:30.777 INFO 13422 --- [task-1] n.educoder.schedule.EvaCheckWarningTask : 自动化评测接口告警检查 ---------end ,总耗时:760ms
|
||||
2022-04-06 15:12:33.885 INFO 13422 --- [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
|
||||
2022-04-06 15:12:33.887 INFO 13422 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ...
|
||||
2022-04-06 15:12:33.891 INFO 13422 --- [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
|
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<!-- <springProperty scope="context" name="logPath" source="log.path"/>-->
|
||||
<property name="logPattern" value="%d{MM-dd HH:mm:ss} %-5level [%thread] %c -- %msg%n"/>
|
||||
<property name="logPath" value="logs/"/>
|
||||
|
||||
<!-- 标准输出 -->
|
||||
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>${logPattern}</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- 日志按天生成 -->
|
||||
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<encoder>
|
||||
<pattern>${logPattern}</pattern>
|
||||
</encoder>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>${logPath}/automated-evaluation.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
</rollingPolicy>
|
||||
</appender>
|
||||
|
||||
<!-- 错误日志单独再记录,以便当前的日志分析报警 -->
|
||||
<appender name="error" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>ERROR</level>
|
||||
</filter>
|
||||
<encoder>
|
||||
<pattern>${logPattern}</pattern>
|
||||
</encoder>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>${logPath}/error.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
</rollingPolicy>
|
||||
</appender>
|
||||
|
||||
<!-- 屏蔽框架输出 -->
|
||||
<logger name="org.mybatis.spring" level="INFO"/>
|
||||
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="file"/>
|
||||
<appender-ref ref="error"/>
|
||||
<appender-ref ref="stdout"/>
|
||||
</root>
|
||||
|
||||
</configuration>
|
Loading…
Reference in new issue