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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:00:27+00:00 2026-05-26T22:00:27+00:00

We will be moving our Application in production . For this , We have

  • 0

We will be moving our Application in production .

For this , We have added log4j support to the Application .

I have got this log4j.properties file from internet , and i put this file inside the classes folder of my Web Application .

log4j.rootCategory=DEBUG, A1

# A1 is a DailyRollingFileAppender

log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.file=/MyWebApplication.log
log4j.appender.A1.datePattern='.'yyyy-MM-dd
log4j.appender.A1.append=true
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-5p %d{ISO8601} [%t] %l %C{5}:%M - %m%n

Is the above properties file suitable for a high-volume website?

  • 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-26T22:00:28+00:00Added an answer on May 26, 2026 at 10:00 pm

    iS the above properties file would be suited for a High volume website

    No, not really. You’ll set all logging to DEBUG level, which is likely to generate vast amounts of logging (especially if you use 3rd-party libraries such as Spring or Hibernate). Not only will this make your logs difficult to read, it may also serious impact performance (log4j doesn’t actually perform well under high load and concurrency, it’s full of synchronized blocks).

    I suggest you turn your logging down to INFO, and perhaps even WARN.

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

Sidebar

Related Questions

We have a long-lived ASP.NET 3.5 application we are moving from a physical server
I'm moving our primary datastore away from ActiveRecord, and instead the data will be
Simply moving the file to ~/.Trash/ will not work, as if the file os
I have been tasked with taking an Access 97 application and moving the back-end
We ship a .NET application with an associated configuration file. Our consultants create the
I have a question regarding handling errors in a J2EE application. Our current application
I'm building a Java application that will allow our users to load a list
Background At my work we are moving from desktop applications to web applications. Our
here is the scenario: We will be moving the development environment from servers to
Coming from java/groovy/grails we are currently moving to rails. We have been having an

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.