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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:06:10+00:00 2026-05-26T13:06:10+00:00

Is it possible to achive each of axis2 web services have own log file

  • 0

Is it possible to achive each of axis2 web services have own log file using log4j?
For example i want my authentication service have auth.log and pool service have pool.log file.

Best regards,
Bojan

  • 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-26T13:06:11+00:00Added an answer on May 26, 2026 at 1:06 pm

    No problem with that. Just use differently named loggers in each web service implementation and configure a separate FileAppender for each of them. Here’s a minimum configuration example that can give you an idea how to do it:

    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
    
    <appender name="fileAppender1" class="org.apache.log4j.FileAppender">
       <param name="file" value="webservice1.log"/>
    </appender>
    
    <appender name="fileAppender2" class="org.apache.log4j.FileAppender">
       <param name="file" value="webservice2.log"/>
    </appender>
    
    <logger name="org.x.logger1">
       <appender ref="fileAppender1"/>
    </logger>
    
    <logger name="org.x.logger2">
       <appender ref="fileAppender2"/>
    </logger>
    
    </log4j:configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Error loading Active Record gem with sinatra app using RVM I have
I have 3 divs with 2 possible image tags for each (active or inactive).
Let's say you have N runnable objects, and for each you want them to
Suppose I have a text file with some data I want to retrieve lost
I have an ASP.NET site on a public web server, where users login using
I'm using panorama UI in wp7. I have several panorama screen each containing ListBox.
I am wondering if it's possible to achieve this using the jQuery UI Slider.
Is there any possible way to achieve this? For instance, I have an I/O
Is it possible to perform an active wifi scan on android without using the,
Is it possible to create a ZIP archive using IO::Compress::Zip without retaining the full

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.