Content Management and Capture

 View Only
  • 1.  ICN Plugin Log not working

    Posted Fri August 23, 2024 03:29 PM

    Hello,

      We have developed ICN plugin jar file and configured it in ICN admin. The plugin is working fine. However we don't find any log wrote into ICN SystemOut.log. Here is our code to write the log:

    PluginLogger logger = callbacks.getLogger();

    logger.logInfo(DocumentSearchService.class, "Search Execute", " version 1.0");

    We have tried to config the ICN log in WAS->TroubleShooting->Logs and Trace->AppServer with below config:

    JVM logs:  we have configured SystemOut.log and SystemErr.log path. 

    Change Log details: *=info

    ICN log shows correct in SystemOut.log. Only the plugin log doesn't show. Is there any configuration we should to make to enable plugin logs?

    Thanks,

    Vicky



    ------------------------------
    Vicky Zheng
    ------------------------------


  • 2.  RE: ICN Plugin Log not working

    Posted Mon August 26, 2024 10:13 AM
    Edited by Kiran Aithagani Mon August 26, 2024 10:13 AM

    Hi Vicky ,

    have to checked the logging setting for the CN app ? there are individual user based or IP based logging you can enable , you can explore those as well 

    Administration >> Settings >> Logging >>Application-level logging

    -Kiran



    ------------------------------
    Kiran Aithagani
    ------------------------------



  • 3.  RE: ICN Plugin Log not working

    Posted Mon August 26, 2024 10:47 AM

    Thanks Kiran for the response!  Would you please advise what do you mean CN app?  Are you talking about ICN app in WAS configuration? I'm not able to find the menu "Administration" in WAS console.  Would you please guide me to it?



    ------------------------------
    Vicky Zheng
    ------------------------------



  • 4.  RE: ICN Plugin Log not working

    Posted Mon August 26, 2024 10:59 AM

    Content Navigator application



    ------------------------------
    Kiran Aithagani
    ------------------------------



  • 5.  RE: ICN Plugin Log not working

    Posted Mon August 26, 2024 12:40 PM

    ICN default logging would log errors and warnings. If you want to see finer details, you can specify Debug as the application logging level in the Administration section, Settings, Logging tab from the dropdown. Save changes and either wait for about 5 minutes or for immediate effect, restart ICN server.



    ------------------------------
    Nanda Pilaka
    IBM Content Navigator Support
    ------------------------------



  • 6.  RE: ICN Plugin Log not working

    Posted Mon August 26, 2024 01:18 PM

    It works. Good to know there is other way to config the log level.  Thanks Nanda!



    ------------------------------
    Vicky Zheng
    ------------------------------