Layer7 API Management

  • 1.  Different log files for different policies

    Posted Jul 06, 2017 01:20 PM

    Hello Team,

     

    In present CA API Gateway logs of every policies gets logged in same default log location / file, is there any feature / configuration which allows to configure different log file for each policy separately ?

     

     

    Thanks,

    Ankush



  • 2.  Re: Different log files for different policies
    Best Answer

    Posted Jul 06, 2017 02:07 PM

    You can use a custom logger to write to a specific log sink. You just configure audit assertions within the policy to write to the custom logger, as documented here : Creating Log Sink for Custom Logger



  • 3.  Re: Different log files for different policies

    Posted Jul 10, 2017 03:15 PM

    Ankush, 

     

    you can create new log, type FILE, and add filters Gateway Log and Policy, like Bill said, there is more info under our docops

     

    Creating a Log Sink - CA API Gateway - 9.2 - CA Technologies Documentation 

     

    kemal