Hi,

You can simply use the standard java logger
(java.util.logging.Logger), extend java.util.logging.Handler for your
own logger handler (i.e. FileHandler) and implement its publish()
method to dump a log record line to a file.
Add this new handler to a logger upon app start-up, i.e.
Logger.getLogger(name).addHandler(handler);

Good luck.



On Apr 5, 12:08 pm, Meryeme Ayache <[email protected]> wrote:
> hey guys!
>
>      I hope all of you is doing just fine. well I want to know please how
> can we create an external log file in Android I mean if we develop an
> application and we want to monitor everything that it does but in an
> external file without using the LogCat. is there in solution for that?
>
> --
> Meryeme Ayache.*
> **Third year Computer Science Student Engineer at
> **Ecole Nationale Supérieure d'Informatique et d'Analyse des Systèmes
> (Rabat)*
> *Information Security System Major.
> *
> *
> *
> *
> *

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to