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 8194093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:42:15+00:00 2026-06-07T04:42:15+00:00

The class example below MyAppender is called from the logback.xml file. When the append()

  • 0

The class example below MyAppender is called from the logback.xml file.

When the append() is called by logback i have no reference to the
class MyAppenderso i cannot attach any Observer or register a Listener

Does logback have some Listener the Swing gui can register or what should i do?

Have been reading the logback manual but i cannot figure this out.

public class MongoAppender extends AppenderBase<ILoggingEvent> {

  public MongoAppender () {
  }

  @Override
  public void start() {

    super.start();
  }

  public void append(ILoggingEvent event) {

    // Inserting log event into MongoDb
    // just got an error...
    // how do i send this error back to Swing Gui?
  }
}
  • 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-06-07T04:42:16+00:00Added an answer on June 7, 2026 at 4:42 am

    In the append i did not make and call to the gui.
    I ended up writing to the DB whatever needed to be saved.

    This of course is cleaner and safer then having classes trying to
    address each other.

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

Sidebar

Related Questions

I have a model defined as below: class Example(models.Model): user = models.ForeignKey(User, null=True) other
I have a small codeigniter controller. Below is the code class Example extends CI_Controller
I have a doubt regarding POJO. Take below example public class User { String
This example below illustrates how to prevent derived class from being copied. It's based
Like in the example below, what is allowed, how and why? class Shape {
I am having trouble including a module in a namespaced class. The example below
Below is an example class hierarchy and code. What I'm looking for is a
I have a model: class Example(models.Model): unique_hash = models.CharField(max_length=32,unique=True) content = models.FileField(upload_to='source',blank=True,verbose_name=HTML Content File)
See example below. Using the __class__ prefix with the class instance 'object' gives the
Consider the example below: #include <iostream> using namespace std; class base { public: virtual

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.