Log4j File created but empty










0














Tried other question answers but couldn't overcome the problem



I have xml file for configure the log4j. Two log files are created but files are empty. I cannot write to a file.



This is my xml






<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/">

<appender name="ErrorAPPENDER"
class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="D://Error.log" />
<param name="Append" value="true" />
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
</layout>
</appender>

<appender name="EventAPPENDER"
class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="D://Event.log" />
<param name="Append" value="true" />
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
</layout>
</appender>

<appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%m%n" />
</layout>
</appender>

<logger name="Event" additivity="false">
<level value="debug" />
<appender-ref ref="EventAPPENDER" />
</logger>

<logger name="Error" additivity="false">
<level value="debug" />
<appender-ref ref="ErrorAPPENDER" />
</logger>



<root>
<priority value="debug" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4j:configuration>





And this is the initialize class



package com.mobios.common;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Log4JUtil

public static final Logger logger= Logger.getLogger(Log4JUtil.class);




And this is how i logging



Log4JUtil.logger.getLogger("ErrorAPPENDER").error("sdsffd");


But nothing writes on the log file. I cannot see any error and i tried the solutions mentioned in other questions.










share|improve this question


























    0














    Tried other question answers but couldn't overcome the problem



    I have xml file for configure the log4j. Two log files are created but files are empty. I cannot write to a file.



    This is my xml






    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


    <log4j:configuration
    xmlns:log4j="http://jakarta.apache.org/log4j/">

    <appender name="ErrorAPPENDER"
    class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File" value="D://Error.log" />
    <param name="Append" value="true" />
    <param name="DatePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern"
    value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
    </layout>
    </appender>

    <appender name="EventAPPENDER"
    class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File" value="D://Event.log" />
    <param name="Append" value="true" />
    <param name="DatePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern"
    value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
    </layout>
    </appender>

    <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out" />
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%m%n" />
    </layout>
    </appender>

    <logger name="Event" additivity="false">
    <level value="debug" />
    <appender-ref ref="EventAPPENDER" />
    </logger>

    <logger name="Error" additivity="false">
    <level value="debug" />
    <appender-ref ref="ErrorAPPENDER" />
    </logger>



    <root>
    <priority value="debug" />
    <appender-ref ref="ConsoleAppender" />
    </root>
    </log4j:configuration>





    And this is the initialize class



    package com.mobios.common;

    import org.apache.log4j.Logger;
    import org.apache.log4j.PropertyConfigurator;

    public class Log4JUtil

    public static final Logger logger= Logger.getLogger(Log4JUtil.class);




    And this is how i logging



    Log4JUtil.logger.getLogger("ErrorAPPENDER").error("sdsffd");


    But nothing writes on the log file. I cannot see any error and i tried the solutions mentioned in other questions.










    share|improve this question
























      0












      0








      0







      Tried other question answers but couldn't overcome the problem



      I have xml file for configure the log4j. Two log files are created but files are empty. I cannot write to a file.



      This is my xml






      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


      <log4j:configuration
      xmlns:log4j="http://jakarta.apache.org/log4j/">

      <appender name="ErrorAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Error.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="EventAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Event.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
      <param name="Target" value="System.out" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%m%n" />
      </layout>
      </appender>

      <logger name="Event" additivity="false">
      <level value="debug" />
      <appender-ref ref="EventAPPENDER" />
      </logger>

      <logger name="Error" additivity="false">
      <level value="debug" />
      <appender-ref ref="ErrorAPPENDER" />
      </logger>



      <root>
      <priority value="debug" />
      <appender-ref ref="ConsoleAppender" />
      </root>
      </log4j:configuration>





      And this is the initialize class



      package com.mobios.common;

      import org.apache.log4j.Logger;
      import org.apache.log4j.PropertyConfigurator;

      public class Log4JUtil

      public static final Logger logger= Logger.getLogger(Log4JUtil.class);




      And this is how i logging



      Log4JUtil.logger.getLogger("ErrorAPPENDER").error("sdsffd");


      But nothing writes on the log file. I cannot see any error and i tried the solutions mentioned in other questions.










      share|improve this question













      Tried other question answers but couldn't overcome the problem



      I have xml file for configure the log4j. Two log files are created but files are empty. I cannot write to a file.



      This is my xml






      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


      <log4j:configuration
      xmlns:log4j="http://jakarta.apache.org/log4j/">

      <appender name="ErrorAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Error.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="EventAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Event.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
      <param name="Target" value="System.out" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%m%n" />
      </layout>
      </appender>

      <logger name="Event" additivity="false">
      <level value="debug" />
      <appender-ref ref="EventAPPENDER" />
      </logger>

      <logger name="Error" additivity="false">
      <level value="debug" />
      <appender-ref ref="ErrorAPPENDER" />
      </logger>



      <root>
      <priority value="debug" />
      <appender-ref ref="ConsoleAppender" />
      </root>
      </log4j:configuration>





      And this is the initialize class



      package com.mobios.common;

      import org.apache.log4j.Logger;
      import org.apache.log4j.PropertyConfigurator;

      public class Log4JUtil

      public static final Logger logger= Logger.getLogger(Log4JUtil.class);




      And this is how i logging



      Log4JUtil.logger.getLogger("ErrorAPPENDER").error("sdsffd");


      But nothing writes on the log file. I cannot see any error and i tried the solutions mentioned in other questions.






      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


      <log4j:configuration
      xmlns:log4j="http://jakarta.apache.org/log4j/">

      <appender name="ErrorAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Error.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="EventAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Event.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
      <param name="Target" value="System.out" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%m%n" />
      </layout>
      </appender>

      <logger name="Event" additivity="false">
      <level value="debug" />
      <appender-ref ref="EventAPPENDER" />
      </logger>

      <logger name="Error" additivity="false">
      <level value="debug" />
      <appender-ref ref="ErrorAPPENDER" />
      </logger>



      <root>
      <priority value="debug" />
      <appender-ref ref="ConsoleAppender" />
      </root>
      </log4j:configuration>





      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


      <log4j:configuration
      xmlns:log4j="http://jakarta.apache.org/log4j/">

      <appender name="ErrorAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Error.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="EventAPPENDER"
      class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="D://Event.log" />
      <param name="Append" value="true" />
      <param name="DatePattern" value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern"
      value="%dyyyy-MM-dd,HH:mm:ss,%m%n" />
      </layout>
      </appender>

      <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
      <param name="Target" value="System.out" />
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%m%n" />
      </layout>
      </appender>

      <logger name="Event" additivity="false">
      <level value="debug" />
      <appender-ref ref="EventAPPENDER" />
      </logger>

      <logger name="Error" additivity="false">
      <level value="debug" />
      <appender-ref ref="ErrorAPPENDER" />
      </logger>



      <root>
      <priority value="debug" />
      <appender-ref ref="ConsoleAppender" />
      </root>
      </log4j:configuration>






      java logging exe4j






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 at 10:59









      Kasun Deshapriya

      12




      12






















          1 Answer
          1






          active

          oldest

          votes


















          0














          A logger is always identified by a unique name across all the loggers initialized until now



          Logging.getLogger(Log4jUtil.class) creates a logger with name "com.mobios.common.Log4jUtil" (Log4jUtil.class.getName()) or returns an already created logger with that name
          https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Logger.html#getLogger(java.lang.Class)



          In your log4j.xml file, you have not created any logger with the name "com.mobios.common.Log4jUtil". You created loggers with names "Event", "Error"



          You can add a section in your log4j.xml file with "com.mobios.common.Log4jUtil" and add the "Event" and "Error" handlers to it so that it logs to the corresponding files



          <logger name="com.mobios.common.Log4jUtil" additivity="false">
          <level value="debug" />
          <appender-ref ref="EventAPPENDER" />
          <appender-ref ref="ErrorAPPENDER" />
          </logger>


          While logging, you don't need to log the messages with getLogger() call again.
          In your Log4jUtil.class, you can simply do,



          logger.error("sdsffd")


          In other classes, if you want to use the logger from Log4jUtil.class, you can do
          Logger.getLogger(Log4JUtil.class) and this returns an already instantiated logger with the handlers attached



          package com.mobios.common;

          import org.apache.log4j.Logger;

          public class AnotherClass

          public static final Logger logger= Logger.getLogger(Log4JUtil.class);







          share|improve this answer




















          • As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
            – Kasun Deshapriya
            Nov 13 at 4:17











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260719%2flog4j-file-created-but-empty%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          A logger is always identified by a unique name across all the loggers initialized until now



          Logging.getLogger(Log4jUtil.class) creates a logger with name "com.mobios.common.Log4jUtil" (Log4jUtil.class.getName()) or returns an already created logger with that name
          https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Logger.html#getLogger(java.lang.Class)



          In your log4j.xml file, you have not created any logger with the name "com.mobios.common.Log4jUtil". You created loggers with names "Event", "Error"



          You can add a section in your log4j.xml file with "com.mobios.common.Log4jUtil" and add the "Event" and "Error" handlers to it so that it logs to the corresponding files



          <logger name="com.mobios.common.Log4jUtil" additivity="false">
          <level value="debug" />
          <appender-ref ref="EventAPPENDER" />
          <appender-ref ref="ErrorAPPENDER" />
          </logger>


          While logging, you don't need to log the messages with getLogger() call again.
          In your Log4jUtil.class, you can simply do,



          logger.error("sdsffd")


          In other classes, if you want to use the logger from Log4jUtil.class, you can do
          Logger.getLogger(Log4JUtil.class) and this returns an already instantiated logger with the handlers attached



          package com.mobios.common;

          import org.apache.log4j.Logger;

          public class AnotherClass

          public static final Logger logger= Logger.getLogger(Log4JUtil.class);







          share|improve this answer




















          • As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
            – Kasun Deshapriya
            Nov 13 at 4:17
















          0














          A logger is always identified by a unique name across all the loggers initialized until now



          Logging.getLogger(Log4jUtil.class) creates a logger with name "com.mobios.common.Log4jUtil" (Log4jUtil.class.getName()) or returns an already created logger with that name
          https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Logger.html#getLogger(java.lang.Class)



          In your log4j.xml file, you have not created any logger with the name "com.mobios.common.Log4jUtil". You created loggers with names "Event", "Error"



          You can add a section in your log4j.xml file with "com.mobios.common.Log4jUtil" and add the "Event" and "Error" handlers to it so that it logs to the corresponding files



          <logger name="com.mobios.common.Log4jUtil" additivity="false">
          <level value="debug" />
          <appender-ref ref="EventAPPENDER" />
          <appender-ref ref="ErrorAPPENDER" />
          </logger>


          While logging, you don't need to log the messages with getLogger() call again.
          In your Log4jUtil.class, you can simply do,



          logger.error("sdsffd")


          In other classes, if you want to use the logger from Log4jUtil.class, you can do
          Logger.getLogger(Log4JUtil.class) and this returns an already instantiated logger with the handlers attached



          package com.mobios.common;

          import org.apache.log4j.Logger;

          public class AnotherClass

          public static final Logger logger= Logger.getLogger(Log4JUtil.class);







          share|improve this answer




















          • As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
            – Kasun Deshapriya
            Nov 13 at 4:17














          0












          0








          0






          A logger is always identified by a unique name across all the loggers initialized until now



          Logging.getLogger(Log4jUtil.class) creates a logger with name "com.mobios.common.Log4jUtil" (Log4jUtil.class.getName()) or returns an already created logger with that name
          https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Logger.html#getLogger(java.lang.Class)



          In your log4j.xml file, you have not created any logger with the name "com.mobios.common.Log4jUtil". You created loggers with names "Event", "Error"



          You can add a section in your log4j.xml file with "com.mobios.common.Log4jUtil" and add the "Event" and "Error" handlers to it so that it logs to the corresponding files



          <logger name="com.mobios.common.Log4jUtil" additivity="false">
          <level value="debug" />
          <appender-ref ref="EventAPPENDER" />
          <appender-ref ref="ErrorAPPENDER" />
          </logger>


          While logging, you don't need to log the messages with getLogger() call again.
          In your Log4jUtil.class, you can simply do,



          logger.error("sdsffd")


          In other classes, if you want to use the logger from Log4jUtil.class, you can do
          Logger.getLogger(Log4JUtil.class) and this returns an already instantiated logger with the handlers attached



          package com.mobios.common;

          import org.apache.log4j.Logger;

          public class AnotherClass

          public static final Logger logger= Logger.getLogger(Log4JUtil.class);







          share|improve this answer












          A logger is always identified by a unique name across all the loggers initialized until now



          Logging.getLogger(Log4jUtil.class) creates a logger with name "com.mobios.common.Log4jUtil" (Log4jUtil.class.getName()) or returns an already created logger with that name
          https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Logger.html#getLogger(java.lang.Class)



          In your log4j.xml file, you have not created any logger with the name "com.mobios.common.Log4jUtil". You created loggers with names "Event", "Error"



          You can add a section in your log4j.xml file with "com.mobios.common.Log4jUtil" and add the "Event" and "Error" handlers to it so that it logs to the corresponding files



          <logger name="com.mobios.common.Log4jUtil" additivity="false">
          <level value="debug" />
          <appender-ref ref="EventAPPENDER" />
          <appender-ref ref="ErrorAPPENDER" />
          </logger>


          While logging, you don't need to log the messages with getLogger() call again.
          In your Log4jUtil.class, you can simply do,



          logger.error("sdsffd")


          In other classes, if you want to use the logger from Log4jUtil.class, you can do
          Logger.getLogger(Log4JUtil.class) and this returns an already instantiated logger with the handlers attached



          package com.mobios.common;

          import org.apache.log4j.Logger;

          public class AnotherClass

          public static final Logger logger= Logger.getLogger(Log4JUtil.class);








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 at 11:30









          pvpks

          1066




          1066











          • As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
            – Kasun Deshapriya
            Nov 13 at 4:17

















          • As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
            – Kasun Deshapriya
            Nov 13 at 4:17
















          As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
          – Kasun Deshapriya
          Nov 13 at 4:17





          As you said i have added the logger part to the xml. But still not working. But your solution is seem ok. But not work for me. I have figure out this. If i add <appender-ref ref="ErrorAPPENDER" /> to the root tag it going to write everything from application stat to that error file. But it is not what i need. I need to write only errors in error file and info in event file. #pvpks
          – Kasun Deshapriya
          Nov 13 at 4:17


















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260719%2flog4j-file-created-but-empty%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          What does pagestruct do in Eviews?

          Dutch intervention in Lombok and Karangasem

          Channel Islands