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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:34:37+00:00 2026-06-07T13:34:37+00:00

I use log4net in my ASP.NET MVC sites, and want to start using a

  • 0

I use log4net in my ASP.NET MVC sites, and want to start using a similar package in my JavaScript (such as log4javascript) to do logging there. Especially logging of exceptions, but also debug logging if a user reports that something went wrong but it isn’t readily reproducable.

I now have these questions about integrating log4javascript with ASP.NET MVC:

1) I want to send log messages to the server using log4javascript’s AjaxAppender. Is there a package that will implement the web service that receives log messages and logs them server side?

2) I want to be able to set the level of client side loggers in the server side web.config, just as with log4net. This way I could switch on debug logging when needed without hacking JavaScript code (all JS will be combined and minified on production).

I guess on each page load the server can read the web.config and generate a bit of JavaScript that creates the client side loggers. Is there a package that does this?

  • 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-06-07T13:34:39+00:00Added an answer on June 7, 2026 at 1:34 pm

    log4javascript author here.

    1. I don’t know of a service that does this, but it’s pretty trivial to do with a web handler and log4net.

    2. Nothing I know of. I’ve considered writing an XML configurator for log4javascript but no-one’s ever asked.

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

Sidebar

Related Questions

I want to use Log4Net in my asp.net application & I have done the
I'm using ASP.NET MVC with Castle ActiveRecord as my persistance layer. I want to
I am trying to use log4net with ASP.NET MVC and I cannot get anything
We have a ASP .Net application whereby we use Log4Net to log details within
I have an ASP.NET website and I am doing logging with log4net. As logging
Currently we use log4net of version 1.2.10.0 and we should start using some 3rd
I have an ASP.NET MVC app which has a bootstrapper class that configures log4net
I would like use from Spring.NET Aspect library Logging aspect together with log4Net. I
I am trying to use log4net in an ASP.NET application with Visual Studio 2005.
I am trying to use log4net in a VB.NET app for some unknown reason

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.