cancel
Showing results for 
Search instead for 
Did you mean: 

severity in log configuration for custom adapter doesn't work

Former Member
0 Kudos

Hi PI experts,

i'm still working on the custom adapter for PI 7.0 and have some trouble with the log configuration.

In the code I have the following lines (just an example):


    TRACE.debugT(SIGNATURE, XIAdapterCategories.GESIS_SMQ, "LOG TEST debugT" );
    TRACE.infoT(SIGNATURE, XIAdapterCategories.GESIS_SMQ, "LOG TEST infoT" );
    TRACE.warningT(SIGNATURE, XIAdapterCategories.GESIS_SMQ, "LOG TEST warningT" );
    TRACE.errorT(SIGNATURE, XIAdapterCategories.GESIS_SMQ, "LOG TEST errorT" );
    TRACE.fatalT(SIGNATURE, XIAdapterCategories.GESIS_SMQ, "LOG TEST fatalT" );
    

But in the Visual Administrator Log View, I only get messages with TRACE.errorT and TRACE.fatalT.

I have changed the log-configuration.xml (see attached file) and set the severity to "DEBUG" but this doesn't change the setting in the log configuration (Visual Administrator). Setting the severity manually doesn't change the behaviour either.

Please, can anyone tell me how to let messages appear in the log, with severity less than errorT, fatalT?

Thank you very much,

Sven Brandt

[Log View|http://www.bilder-hochladen.net/files/big/be4l-3.jpg]

[log-configuration.xml|http://www.bilder-hochladen.net/files/big/be4l-2.jpg]

[Log Configuration - Visual Administrator|http://www.bilder-hochladen.net/files/big/be4l-1.jpg]

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

strange it usually works with no issues

did you try setting DE to severity ALL ?

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

i also tried setting the severity to "ALL". Didn't changed the logging either.

Thank you for your answer.

Sven

Former Member
0 Kudos

Hi All,

anybody any ideas ?

I'd like to solve this weird behaviour.

Best Regards

Sven