LarryAndro
asked on
Beanshell Log File
I want to trace execution in a beanshell script, writing text and variables to a text file.
- How do I create a text file, in beanshell?
- How do I append text to a text file, in a beanshell script?
- How do I create a text file, in beanshell?
- How do I append text to a text file, in a beanshell script?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
Using a logging API such as log4j would be better, but i'm not fully sure if it can be used in exactly the same way in beanshell
Using a logging API such as log4j would be better, but i'm not fully sure if it can be used in exactly the same way in beanshell
ASKER
(If anyone reads, and copies and pastes the code above, change FIleWriter... to FileWriter...)