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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:53:41+00:00 2026-06-14T20:53:41+00:00

Many classes in the .NET framework (especially in the socket/network classes, which is what

  • 0

Many classes in the .NET framework (especially in the socket/network classes, which is what I’m looking at) use System.Net.GlobalLog (an internal class) to log trace messages somewhere. You can view example uses of things like GlobalLog.Assert and GlobalLog.Print in the SslState class:

SslStream source code

This is different from the System.Net.Logging (also internal) class, uses of which can also be found throughout the socket/network classes.

For System.Net.Logging, I know I can use a <system.diagnostics> configuration block in App.Config and that will result in System.Net.Logging messages getting logged if configured properly. However, this does not appear to influence System.Net.GlobalLog.

After searching around for about an hour, I cannot seem to find any information about locating the output of System.Net.GlobalLog. Does anyone know how to locate/view/control the output of 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-14T20:53:42+00:00Added an answer on June 14, 2026 at 8:53 pm

    As you stated, GlobalLog is an internal class to the System.Net assembly. Without being able to modify the System.Net assembly you won’t get access to that class.

    That said, you might want to review the following: http://www.123aspx.com/rotor/RotorSrc.aspx?rot=42941

    It looks like you have to have compiler flags TRAVE and DEBUG set in order to get it to work.. but I’m not seeing where it actually does anything with the logged information. The comments suggest that it is supposed to look for an environment variable setting and dump the log to a text file somewhere on the system; however the code at that page seems either incomplete or it simply wasn’t finished.

    My guess is that you need to find some other way of getting access to the logging info you want.

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

Sidebar

Related Questions

In the .NET framework, many of the System.Collection classes have Clear methods on them.
I have an ASP.NET project that contains many classes. I am thinking about creating
There are many classes having this provider suffix. (Data,membership,modelmetadata,...). When should be a class
In C#, how many classes can you inherit from? When you write: using System.Web.UI;
I'm working on a large project (for me) which will have many classes and
What I have? I have an abstract class QueryExecutor and many classes inheriting from
I use C# Entity Framework and Asp.net Web Forms 4. At the moment I'm
I use ASP.NET with a informix database. I use a set of written classes
Imagine a 5 MB jar file that contains many main classes, each of which
Per version (1.0, 1.1, 2.0, 3.0, 3.5), how many classes are in the .NET

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.