Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN Ignoring eviction setting: 0 #5268

Closed
rymsha opened this issue Sep 14, 2020 · 2 comments
Closed

WARN Ignoring eviction setting: 0 #5268

rymsha opened this issue Sep 14, 2020 · 2 comments
Assignees

Comments

@rymsha
Copy link

rymsha commented Sep 14, 2020

Jetty version

9.4.31.v20200723

Java version

11

OS type/version

any

Description

When NullSessionCacheFactory is in use, there is always a warring in logs

WARN org.eclipse.jetty.server.session - Ignoring eviction setting: 0

There reason for this is that AbstractSessionCacheFactory (super class for NullSessionCacheFactory) always calls setEvictionPolicy

    @Override
    public SessionCache getSessionCache(SessionHandler handler)
    {
        SessionCache cache = newSessionCache(handler);
        cache.setEvictionPolicy(getEvictionPolicy());

IMO Log level should be debug at most.

@janbartel
Copy link
Contributor

Thanks for the issue, I've raised #5270

janbartel added a commit that referenced this issue Sep 16, 2020
@janbartel
Copy link
Contributor

Fixed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants