Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3679046
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:24:47+00:00 2026-05-19T03:24:47+00:00

In my logback config file, I have the following appender that work : <appender

  • 0

In my logback config file, I have the following appender that work :

<appender name="thread_SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">
    <discriminator class="[...]"/>
    <sift>
        <appender name="FILE-${threadName}" class="ch.qos.logback.core.FileAppender">
            <file>[...]/${bySecond}/${threadName}.log</file>
            <layout class="ch.qos.logback.classic.PatternLayout">
               <pattern>%date %level %logger{0} - %msg%n</pattern>
            </layout>
        </appender>
    </sift>
</appender>

The file are created correctly. If I replace FileAppender by RollingFileAppender, nothing is created. Why? How can I make it work>

The threadName is set by the discriminator.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:24:48+00:00Added an answer on May 19, 2026 at 3:24 am

    There was an error in package name. It seem error under the tag sift are silently ignore. To test, I need to copy the appender outside the sift tag, make sure I have no error and copy it back.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following logback.xml file: <configuration debug=true> <appender name=STDOUT class=ch.qos.logback.core.ConsoleAppender> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread]
I have a logback appender: <appender name=logfile class=ch.qos.logback.core.rolling.RollingFileAppender> <rollingPolicy class=ch.qos.logback.core.rolling.TimeBasedRollingPolicy> <fileNamePattern>/opt/loghome/recon/log.%d{MM-dd-yyyy}.log </fileNamePattern> <maxHistory>30</maxHistory> </rollingPolicy>
This is my logback configuration file: <?xml version=1.0 encoding=UTF-8?> <configuration> <contextName>xpofacebook</contextName> <appender name=ERROR class=ch.qos.logback.core.rolling.RollingFileAppender>
I have a config file which lists all the configuration details for Logback.xml like
I followed these instructions here: http://logback.qos.ch/consolePlugin.html I have the correct and found logback.xml, it
Does anyone know of a log4j or logback class that can redact passwords based
I see the following in the logback documentation: http://logback.qos.ch/manual/layouts.html#line Generating the line number information
I'd like to define a logback configuration file that will be able to :
According to this link: http://logback.qos.ch/manual/appenders.html (in RollingFileAppender) It seems to me that Logback provides
I'm using logback in an EAR-File which contains a JAR (ejb) and a WAR.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.