在docker中出现日志挂载如何解决-创新互联
本篇文章给大家分享的是有关在docker中出现日志挂载如何解决,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。
成都创新互联公司主营洞头网站建设的网络公司,主营网站建设方案,APP应用开发,洞头h5微信小程序搭建,洞头网站营销推广欢迎洞头等地区企业咨询关键是本地服务器没有写入的权限
关键看这里吧(Permission denied), 一直没有看正方,以为是配置日志文件 找不到有问题,下面是部分异常
10:35:09,498 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(null,true) call failed. java.io.FileNotFoundException: logs/bandwidth.log.2019-04-25.log (Permission denied) at java.io.FileNotFoundException: logs/bandwidth.log.2019-04-25.log (Permission denied) at at java.io.FileOutputStream.open0(Native Method) at at java.io.FileOutputStream.open(FileOutputStream.java:270) at at java.io.FileOutputStream.(FileOutputStream.java:213) at at ch.qos.logback.core.recovery.ResilientFileOutputStream. (ResilientFileOutputStream.java:26) at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204) at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127) at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:100) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
网站栏目:在docker中出现日志挂载如何解决-创新互联
网页URL:http://myzitong.com/article/cdodji.html