Error: “setFile(null,false) call failed” when using log4j

前端 未结 10 657
感情败类
感情败类 2020-12-15 15:37

I have added log4j.properties file in source folder of project but I am still getting a log4j:error.

Here is my Log4j.properties file:

          


        
10条回答
  •  爱一瞬间的悲伤
    2020-12-15 16:36

    To prevent this isue I changed all values in log4j.properties file with directory ${kafka.logs.dir} to my own directory. For example D:/temp/...

提交回复
热议问题