x
This commit is contained in:
parent
193e2ad370
commit
0dd7e09348
@ -4,14 +4,14 @@ import com.zeto.ZenData;
|
||||
import com.zeto.ZenEngine;
|
||||
import com.zeto.ZenResult;
|
||||
import com.zeto.annotation.AccessRole;
|
||||
import com.zeto.domain.ZenUserTag;
|
||||
import com.zeto.domain.ZenRole;
|
||||
import com.zeto.kit.DateKit;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.noear.solon.annotation.Inject;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@AccessRole(ZenUserTag.ADMIN)
|
||||
@AccessRole(ZenRole.ADMIN)
|
||||
public class Activity {
|
||||
|
||||
@Inject
|
||||
|
13
iot/src/main/resources/logback.xml
Normal file
13
iot/src/main/resources/logback.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
|
||||
<file>app.log</file>
|
||||
<encoder>
|
||||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="FILE" />
|
||||
</root>
|
||||
</configuration>
|
Loading…
x
Reference in New Issue
Block a user