Please check the official logback's guide on Logging separation and apply suggestions described there.