cancel
Showing results for 
Search instead for 
Did you mean: 

create an error in j2ee/cluster/server0/log/system/server_00.log

Former Member
0 Kudos
120

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

venkatesh_r
Employee
Employee
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

no one has an idea?