Layer7 API Management

 View Only
  • 1.  What are these log entries from «Whirlycache Tuner»

    Posted Jan 31, 2017 05:05 AM

    Hi 

     

    We have installed a gateway version 9.2, the SSG log-level is set to Warning.

     

    Although there is no traffic yet, we have a lot of log entries in the ssg-log. There are of course lots of messags during start and stop (Hibernate, Spring etc).

    What is more distracting are log entries from a «Whirlycache Tuner» when the gateway is just running and has no traffic. It writes all one to five seconds a Warning into the log that looks like this

     

    [Timestamp] WARNING 213 STDERR: [Whirlycache Tuner ( [various names] )] INFO com.whirlycott.cache.[Various classes from this package] - Size: 0; Questions: 2; Hits: 0; Adaptive r/w ratio: 0%; Total hitrate: 0%

     

    Questions: 

    • What is this?
    • Is this really a Warning? (becuase it seems to be INFO level from Whirlycache)
      • if yes: What is wrong with the gateway?
      • If no: Can I demote this to INFO? This is just noise that hides real Warnings
    • General question about ssg-log: Can I promote a log event from a lower level to Warning? To get events that are not important but interesting to see when it happens

    Thanks

    Stephan



  • 2.  Re: What are these log entries from «Whirlycache Tuner»
    Best Answer

    Broadcom Employee
    Posted Jan 31, 2017 08:41 AM

    Stephan,

    As far as I know 

    1) This does not appear to be a Severe message and I suspect the reason it is warning is the Questions:2.

    2) Whirlycache is used for policy caching and typically associated with the java process and garbage collection. But from what I see of the warning if there are no other Severe messages following it I wouldnt suspect there is any real problem. 

    3) Of the Default Error / class types I do not know of anyway to Promote or demote. But I guess there may be different ways of doing this based on the intent. You mention all the noise. It might be helpful to know what you are trying to gather out of the ssg log and if its simply just something that can be accomplished by having multiple log-Syncs for different classes. Because I suspect that is what you might want have message of certain classes go to certain syncs with filtering to make it more readable. 

     

    Hope that helps some. 

    Charlie.



  • 3.  RE: Re: What are these log entries from «Whirlycache Tuner»

    Posted Nov 23, 2021 11:56 AM
    Ok, found what it was, and it can be configured using this post : Layer7 API Management - Enterprise Software (broadcom.com) 

    Regards,
    Yannick


  • 4.  RE: Re: What are these log entries from «Whirlycache Tuner»

    Posted Nov 23, 2021 11:58 AM

    Hi,

    I am facing the same problem on our Layer7 instance.

    I keep having WARNING in the ssg logs as below :
    2021-11-19T09:56:53.888+0000 WARNING 65 STDERR: [Whirlycache Tuner ( AuditLookupPolicyIDCache )] INFO com.whirlycott.cache.CacheDecorator - Size: 0; Questions: 3; Hits: 1; Adaptive r/w ratio: 0%; Total hitrate: 33%
    2021-11-19T09:56:53.888+0000 WARNING 64 STDERR: [Whirlycache Tuner ( AuditLookupPolicyCache )] INFO com.whirlycott.cache.CacheDecorator - Size: 0; Questions: 3; Hits: 1; Adaptive r/w ratio: 0%; Total hitrate: 33%
    2021-11-19T09:56:53.934+0000 WARNING 186 STDERR: [Whirlycache Tuner ( certCache )] INFO com.whirlycott.cache.CacheDecorator - Size: 4; Questions: 9,079; Hits: 9,069; Adaptive r/w ratio: 100%; Total hitrate: 100%

    while I think all of this is just INFO level. 

    Is there a way to fix this to not log those messages as WARNINGs, but as INFOs instead ?

    Thanks
    Yannick