on 04-27-2007 2:51 PM
Hi,
i am trying to create a log file for my program. But i am not able to write a string to my local file. I deploy my WD to a remote server.
File location is: src->mimes->components->com.sap.company
myCode:
Writer file = new FileWriter("log.txt");
file.write("TEST");
file.flush();
file.close();
regards,
sharam
Hi Sharam,
1) Read the WebLog /people/sap.user72/blog/2004/11/10/log-configuration-for-a-web-dynpro-application
2) Check whether the file log-configuration.xml is in the right directory within the deployed ear file. It must be stored in the meta-inf directory. There was a bug in the IDE which stored the file in the wrong directory. In case it is not correctly stored you must manually move it to the meta-inf directory.
Regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.