cancel
Showing results for 
Search instead for 
Did you mean: 

Java File not writing anything in log

raktim_banerjee
Participant
0 Kudos

Hi All,

I created a Java File. It is executing. I can see that from security log because it is a logon module. This file is supposed to write lot of debug/error  log message. It is not coming to "Developer Traces" view of log viewer of Netweaver Administrator.

This is writing log file as follows:

import com.sap.tc.logging.Location;

LOCATION.debugT("initialize", "null header :)" );

inside method :

private static final Location LOCATION = Location.getLocation(LexIPCheck.class);

I am sure this line is executing but log is not written.

I activated the trace level of  application like following:

No log coming in Developer Trace. Server is NW 7.3 EHP 1. 

Thanks in advance.

Raktim

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Raktim,

     Good day!

     Is this issue resolved?

     I am also facing the same issue, if you found the solution please help me.

Thanks,

Santhosh K

junwu
Active Contributor
0 Kudos

can you set the log level for iphead?

raktim_banerjee
Participant
0 Kudos

Hi Jun,

I set that level also but it is still not coming. I gave some error message also at the beginning of the method. That is also not coming.