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

  • Home
  • SEARCH
  • 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 242187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:48:59+00:00 2026-05-11T20:48:59+00:00

For a web app or a standalone server app, which would you recommend, and

  • 0

For a web app or a standalone server app, which would you recommend, and why?

  • have the giant application.log, where everything is logged;
  • have many smaller logs:
    • security.log
    • performance.log
    • lifecycle.log
    • integration.log
  • 1 1 Answer
  • 1 View
  • 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-11T20:48:59+00:00Added an answer on May 11, 2026 at 8:48 pm

    I like using databases for logging. Four useful features:

    1. You don’t lose the time-ordering, as you’d experience when looking at multiple log files at once.
    2. You can still filter by specific message types, if you want to.
    3. You get integrity, so if your computer crashed just as you were writing a log file, you won’t get a corrupted log, and it’ll be replayed off the journal when your database starts up again.
    4. Pruning the log is really easy! No need to use hacky log rotation programs that require your daemons to be SIGHUPed or anything.

    Your mileage may vary. 🙂

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

Sidebar

Related Questions

I have deployed an enterprise app in an EAR and a standalone web app
I have a huge web app that is having issues with memory leak in
In my (PHP) web app, I have a part of my site that keeps
I am trying to implement jdbc-pool in a standalone web app (self contained -
I have created a web application using Jersey and Dynamic Web Project of Eclipse.
I have a RoR web app that I'm trying to serve up with Passenger
I have written a SOAP based web service which runs fine on a Tomcat
I have an EJB, and a web service using it. I would now like
I have a web-application built with GWT (2.0.3) and run on Apache Tomcat 6.
I have a simple web app with this project.clj: (defproject squirrel-money 1.0.0-SNAPSHOT :description Squirrel

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.