title: logback-android Implementation android Nothing happening
body: <p>I am trying to  implemented logback-android, I have followed the same steps as described here
   <a href="http://tony19.github.io/logback-android/" rel="nofollow">in logback android</a></p>
  
  <p>My code regarding that is </p>
  
  <pre><code> &lt;configuration&gt;
    &lt;!-- Create a file appender for a log in the application's data directory --&gt;
    &lt;appender name="file" class="ch.qos.logback.core.RollingFileAppender"&gt;
  &lt;file&gt;/sdcard/log/foo.log&lt;/file&gt;
  &lt;encoder&gt;
    &lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n&lt;/pattern&gt;
   &lt;/encoder&gt;
    &lt;/appender&gt;
  
    &lt;!-- Write INFO (and higher-level) messages to the log file --&gt;
    &lt;root level="INFO"&gt;
      &lt;appender-ref ref="file" /&gt;
    &lt;/root&gt;
   &lt;/configuration&gt;
  </code></pre>
  
  <p>My code in activity is </p>
  
  <pre><code>public class MainActivity extends Activity {
  
  
  static private final Logger LOG =
          LoggerFactory.getLogger(MainActivity.class);
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
       BasicLogcatConfigurator.configureDefaultContext();
      LOG.info("Hello Android!");
         LOG.debug("reply: {}", Example.hello());
  
  
  }
  
  static class Example {
      static private final Logger LOG =
                       LoggerFactory.getLogger(Example.class);
  
      static public String hello() {
          LOG.trace("entered hello()");
          return "Hi there!";
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I also using external storage permission in android manifest
  I am using emulator created a 10 mb sdcard folder.
  but when i run this code no file and folder is created inside that.
  Need help regarding where i am getting wrong Thanks</p>