Logback error
程序员文章站
2024-02-27 22:59:03
...
Logback file error : no applicable action for [rollingPolicy], current pattern is [[configuration][appender][rollingPolicy]]
<configuration>
<!-- this is the important line -->
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/log/akka.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<fileNamePattern>/media/sara/682AA7A32AA76D2E/study/ifkaarproject/articateInScala/log/akka.%i.log</fileNamePattern>
<minIndex>1</minIndex>
<maxIndex>3</maxIndex>
</rollingPolicy>
<triggeringPolicy class="com.bigbasket.dapp.utilities.SizeBasedTriggeringPolicy">
<maxFileSize>5MB</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{0} %X{akkaSource} %msg%n</pattern>
</encoder>
</appender>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{0} %X{akkaSource} -%msg%n</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
</root>
</configuration>
推荐阅读
-
Logback error
-
mysql ERROR 1044 (42000): Access denied for user ''@'localhost' to database
-
Android 出现问题Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER解决办法
-
Spring如何动态自定义logback日志目录详解
-
如何在Eclipse PDE的Error Log View中显示自己的Log 博客分类: Eclipse Plug-in开发 Eclipse工作
-
如何修改覆盖spring boot默认日志策略logback详解
-
mysql启动的error 2003和1067错误问题解决方法
-
pygame加载中文名mp3文件出现error
-
Last_Errno: 1062,Last_Error: Error Duplicate entry
-
ERROR: Error in Log_event::read_log_event()