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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:09:17+00:00 2026-05-13T21:09:17+00:00

As I see it there are two different types of logging: User-focused logs, like

  • 0

As I see it there are two different types of logging:

  • User-focused logs, like those produced by my anti-virus (“started scan”, “no threats found”, etc.)
  • Developer-focused traces, which may be as simple as a log of exceptions or as detailed as a log of every method call

I’m currently planning how to incorporate the second type of logging into our application, so that we are able to get some record of what went wrong when a user reports a problem. I’ve seen several discussions of how verbose these traces should be and of available frameworks, but here I’m looking for some more general guidelines.

Particular questions I have include:

  • Should we be logging to a file, to the Windows Event Log or somewhere else? For these developer-focused logs that are probably of no interest to the user, I feel that a file would be most appropriate. But in that case:
    • Where should the file be located?
    • Should we implement some form of log rotation to prevent the file growing too large?
    • How can we handle multiple instances of the application accessing the log simultaneously?
  • Should this tracing be switched on by default? If it is, I am a little concerned about performance; but if it is not, will we end up responding to many users’ issues with “turn on tracing and try to reproduce the problem”? This doesn’t sound too helpful.

I hope you can help me with these questions. I’d also appreciate any other advice you have on this topic.

  • 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-13T21:09:17+00:00Added an answer on May 13, 2026 at 9:09 pm

    You should use an established logging framework for the platform if it’s available. For log4j (java) , log4net (.net) etc. Most established frameworks will have ways of increasing and decreasing the logging (and thus affecting performance) in very precise ways. You would have to replicate all of this.

    If not, the the ETW (event tracing for windows) is a highly performant logging system built right into windows. And I’d recommend it in each case where the logging framework wasn’t available.

    Oh and don’t worry about performance until its an issue (this doesn’t mean don’t think about it, just don’t micro optimise till you need to).

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

Sidebar

Related Questions

table user: |id|name|employee_priority_id|user_priority_id| table priority: |id|name| As you can see, there are two foreign
I was looking at the Backbone-requireJS boilerplates in GitHub, I see two different types
I have following fiddle: http://jsfiddle.net/BFSH4/ As you see there are two issues: The h1
When I concatenate the following two unicode characters I see both but there is
Is there a best (see below) way to append two byte arrays in C#?
I have two tables representing two different types of imagery. I am using PostGIS
I have always understood there to be two types of equality in Java, value
I have been coming across these two words more often but i didn't see
Click here to see what I mean.. What could prevent these two from sitting
I have a running JVM with two threads. Is it possible to see these

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.