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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:26:18+00:00 2026-05-26T15:26:18+00:00

I have a custom java log4j appender class like com.xyz.abc.MyCustomAppender. I am able to

  • 0

I have a custom java log4j appender class like com.xyz.abc.MyCustomAppender. I am able to use that appender in my log4j.xml file (as below) and works perfectly fine. Now I have to use the same appender in my perl using Log4perl. I have that Log4perl provides lot of appenders that are inbuilt, but I would like to use my own appender along with Log4perl. Can anyone has a sample code for this please provide me.

<appender name="Custom_Apppender_1" class="com.xyz.abc.MyCustomAppender">
<param name="...." value="...">
<param name="...." value="...">
<param name="...." value="...">
<param name="...." value="...">
</appender>

Thanks in advance.

  • 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-26T15:26:19+00:00Added an answer on May 26, 2026 at 3:26 pm

    I think you could use Log::Log4perl::Appender::String as an example: it looks very simple.

    Also Log::Log4perl::Appender (base class) documentation may be useful for you.

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

Sidebar

Related Questions

I have a custom java.text.Format and would like to use it in my JSP.
I have a custom view MyView inflated from my_view.xml (with a corresponding Java class
I have a custom class that I've written that extends ImageView (for Android Java).
I have a java class which fires custom java events. The structure of the
What methods do I need to add to a custom Java class so that
I have a .jsp page that begins with <%@ taglib uri=http://java.sun.com/jstl/core prefix=c %> <%@
I have a Java program that loads thirdparty class files (classes I did not
I have created custom result class to serialize json data to xml. I want
I currently have a custom log manager that internally uses java.util.Formatter . The main
I have a custom drawable rounded_corner.xml: <?xml version=1.0 encoding=UTF-8?> <shape xmlns:android=http://schemas.android.com/apk/res/android android:shape=rectangle> <gradient android:startColor=#FFFFFF

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.