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

The Archive Base Latest Questions

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

We are currently using NLog for logging (which was an arbitrary choice made some

  • 0

We are currently using NLog for logging (which was an arbitrary choice made some months ago so it can be changed if necessary).

NLog can log to a database but requires a ConnectionString. This is an issue for us as we are in an n-tier environment and we have no database access at the Presentation tier (everything goes back to WCF hosted services in the mid-tier).

Does anyone have good recommendations for how I can get logs from a webfarm into a single consolidated repository (SQL, or it could be some other technology, e.g. MongoDb, etc.) that will sitting behind the mid-tier WCF?

Yes, I know that WCF and other issues can occur when trying to get to the logging repository (inaccessibity etc.) and in that case we will configure server based file logging or something to catch that.

I could use some wisdom here please.

Brian

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

    For business logic related logging (ie not system errors), I would recommend creating a WCF endpoint and wrapping nlog in your business tier. So you would call your logging methods as you would any mid-tier method.

    That leaves the system errors like db/network errors etc. For these the options include windows event log, email, file, twitter:) etc.. choose your pick. as long as it does not rely on database you are fine. And depending you how critical your app is, you may want to use a couple of methods like filesystem + email.

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

Sidebar

Ask A Question

Stats

  • Questions 497k
  • Answers 497k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Hmmm, actually the cookie IS being deleted. I appear to… May 16, 2026 at 11:55 am
  • Editorial Team
    Editorial Team added an answer You can never tell if a file is currently being… May 16, 2026 at 11:55 am
  • Editorial Team
    Editorial Team added an answer Searching through the Clips Reference manual, I finally found the… May 16, 2026 at 11:55 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am using NLog to provide all my logging, do you know if it
I'm currently using the jquery-form-observe plugin which uses onbeforeunload to prompt the user about
I am creating a Windows Service which I want to use NLog with. I
Currently using System.Web.UI.WebControls.FileUpload wrapped in our own control. We have licenses for Telerik. I
currently using PHP5 with htmlMimeMail 5 ( http://www.phpguru.org/static/mime.mail.html ) to send HTML e-mail communications.
Currently using Oracle/BEA/Plumtree ALUI Portal 6.1, and am trying to display a client's IP
I am currently using Watir with Firefox and it seems that when I try
I'm currently using the automatic mipmap generation (C# + OpenTK): GL.GenerateMipmap(GenerateMipmapTarget.Texture2D); The texture I'm
I'm currently using JCarousel to highlight featured posts in Wordpress. The carousel displays above
I'm currently using the Mootools Element constructor method to dynamically add a new row

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.