I need to create a custom log file that will have all my application logging. Can anyone please list the steps to create custom log file for my app quicky?
I don't like to use addToLog() method as it adds everything to activity log. Thank you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I would suggest exploring the log4j process. It allows you create a custom log and manage the size. I can be packaged into a class or element.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unless you have complex logging requirement log4j is not needed. You can use the logging capabilities within java using JRE logging configuration and within logging.properties.
Hemal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.