Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6654275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:22:15+00:00 2026-05-26T01:22:15+00:00

I am facing a problem regarding putting my custom log file into the android

  • 0

I am facing a problem regarding putting my custom log file into the android application path and explore it.

Problem statement:

I have one android application which is using several custom java components(.jars) and there is one Logger component which is also a pure java component.
So android application, as well as all pure java components, should use the custom logger to log all data.
Now the problem is when I add the logger in android project and trying to create the log file in application path it’s creating somewhere inside /data/data/package_name/files location but unable to explore this location and one more problem is custom logger is using one XML file which is nothing but rules defined for the logger and this file is there in logger’s application path but when I tried to run through android and calling logger it seems like this resource XML file is not found.

So does anyone having some ideas about how to use logger in this scenario OR where to log my custom log file and where to keep my resource XML file which will be used by logger?

Does all of custom java components which will be used by the android application also refer the same path(Android app path) for logging the data???

Any help will be appreciated.

Thanks,
Piks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:22:15+00:00Added an answer on May 26, 2026 at 1:22 am

    As u are logging logs in applications directory, u must have root access. If u have root access Run this command on command prompt to copy it to ur devlopment machine.
    adb shell

    su

    pull

    where remote is /data/data/package_name/files.
    Refer this: http://developer.android.com/guide/developing/tools/adb.html

    If u dont have root access then log data to place where user level read and write access is present. Where u can create a folder,to make it simple.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I facing a problem regarding the import of an excel file into mysql through
I am facing some problem in iPhone application development for Reading PDF. I have
I'm facing a problem with the android broadcast receiver. I have a login page
im facing a problem regarding my .htaccess file here is the code within the
I am facing a strange problem regarding Hooking. I have a procedure which acts
I am facing one problem regarding unlocking the device when Service launched activity when
I am facing a problem regarding audio decoding. I have the SPIMP3 library for
I have an application that uses UIDatePicker & I am facing problem as described
as i am facing problem here: Installing application on SD-card in Android sdk 2.2
I am facing problem with the control flajaxian.FileUploader i.e. after downloading the dll file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.