on 04-18-2007 3:29 AM
Hello,
for testing purposes i need to create an error log entry in j2ee/cluster/server0/log/system/server_00.log. What do you think is the easiest way to get it done? I think I just can't write an entry in it. What kind of errors can occur and are written in that log? And what would be an easy way to trigger an error situation via program?
Best regards and thanks for your help because i've no clue...
Tobias
Hai Tobias,
If you create any file in SAP WebAS like
File f=new File("log.txt);
It will create in cluter/servr0 location
to create in server0/log/system/server_00.log
use like this
File F=new File(".//log//System//server_00.log")
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check this blog /people/venkatesh.ramachandran/blog/2006/12/22/use-log4j-in-j2ee-project
You can create log files for your application.
Regards,
Venkatesh
Message was edited by:
Venkatesh Ramachandran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Check this link
u can write ur own log file using this help document
http://help.sap.com/saphelp_nw04s/helpdata/en/98/43e2876acdf24cbaf26894f8207167/frameset.htm
Regards,
Beevin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no one has an idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.