cancel
Showing results for 
Search instead for 
Did you mean: 

why I can't see the infoT and warningT logs

Former Member
0 Kudos

hi everybody:

I use the default object: com.sap.tc.logging.Location logger in my webdynpro project.

I use the following testing code.

public void wdDoInit()

{

//@@begin wdDoInit()

InitialKPIHelp( );

logger.addLog(new FileLog("C:
1.log"));

logger.errorT("this is a errorT");

logger.warningT("this is a warningT");

logger.debugT("this is a debugT");

logger.fatalT("this is a fatalT");

logger.infoT("this is a infoT");

logger.logT(1,"this is a logT");

//@@end

}

But after running the program, I can only see the fatalT and the errorT messages in the 1.log.

why I can't see other level logs?

Thanks for all.

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Elliot,

You have to change the severity of your location to ALL in order to see all messages in the log. By default the severity is ERROR which means that only ERROR and FATAL messages are traced.

Open the VisualAdmin tool and go to Server -> Services -> Log Configurator, on the right-hand side you'll find the tab Locations. Find yours, change its severity to ALL and click the Save icon. Now you should see all your messages.

Hope that helps!

Vladimir

Answers (0)