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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:20:40+00:00 2026-05-13T20:20:40+00:00

Short: What’s the most appropriate folder for windows service to dump log files into?

  • 0

Short: What’s the most appropriate folder for windows service to dump log files into?

Details

I have a windows service that produces log files that a low-tech end user might be interested to look at (actual communication between a computer and a manufacturing line monitoring sensors).

The computer is a stand-alone dedicated computer that acts as a data acquisition server, it has monitor and accessible to the end user, but not meant to be touched unless there are problems.

What’s the best (most appropriate) place (folder) to output those log files to?

My considerations are:

  1. ease of configuration (in case I have to give an access for local services account to that folder).
  2. ease of access for an end user (again: they shouldn’t need to, but occasionally they might want to).

EDIT: It creates about 10 up to 1Mb rolling size files. There is no issue with size, so no compression and clean-up is necessary.

  • 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-13T20:20:41+00:00Added an answer on May 13, 2026 at 8:20 pm

    My preference is to make use of the All Users folder structure. By creating a folder in there with the same name as your service app, it’s readily apparent where the contents come from, you can grant access to it without compromising the Program Files folder, and when you uninstall or upgrade your app you won’t leave ‘orphan’ folders in Program Files that couldn’t be removed because the installer didn’t know it had to delete some log files.

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

Sidebar

Related Questions

Short Question I have a loop that runs 180,000 times. At the end of
Short Intro Currently I have a UITableView which is filled with custom cells that
Short Version: I have 7 SSISDeploymentManifest files I need to run. Is there a
short: I need to filter all .java files and every META-INF folder from a
Short but simple? I have an edit.ascx is in the shared folder. I call
Short best practice question: If an object A is injected into another object B,
Short version: I have a similar setup to StackOverflow. Users get Achievements. I have
Short of recursing and comparing dates of files/directories, is there a better way of
Short During debug process I see that, all goes right. For debugging purposes, before
Short version of the question: If you have a table with a large number

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.