Skip to content
Documentation
Updated 4 minutes to read
Markdown
Release Notes

Uninstalling the Nodinite Log4Net Appender

Section titled “ Uninstalling the Nodinite Log4Net Appender”

This guide walks you through the safe and complete removal of the Nodinite Log4Net Appender NuGet package from your .NET Framework project. Whether you are migrating to a different logging solution, upgrading to Serilog, or troubleshooting, follow these steps to ensure a clean uninstallation.

With this guide, you will:

  • ✅ Remove the NuGet package and all dependencies safely
  • ✅ Clean up configuration files properly
  • ✅ Prevent orphaned resources in Monitor Views
  • ✅ Minimize downtime and ensure rollback options

Follow these steps to uninstall the Nodinite Log4Net Appender:

Step 1: Remove Monitor View Resources (If Applicable)

Section titled “ Step 1: Remove Monitor View Resources (If Applicable)”

If you have created Monitor Views that reference the Log4Net Appender, specifically for Non-Events monitoring:

  1. Log in to the Nodinite Web Client
  2. Navigate to Administration > Monitor Management > Monitor Views
  3. Locate any Monitor Views using the Log4Net Appender for Non-Events monitoring
  4. Remove or update the Resources that reference this appender
  5. Save your changes

This step prevents errors and orphaned references after the appender is removed.

Choose one of the following methods to uninstall the NuGet package:

Option A: Visual Studio NuGet Package Manager (GUI)

Section titled “Option A: Visual Studio NuGet Package Manager (GUI)”
  1. Open your .NET Framework project in Visual Studio
  2. Right-click on the project in Solution Explorer
  3. Select Manage NuGet Packages...
  4. Click the Installed tab
  5. Search for Nodinite.LogAgent.Log4NetAppender
  6. Select the package and click Uninstall
  7. Confirm the uninstallation when prompted
  1. Open Visual Studio
  2. Go to Tools > NuGet Package Manager > Package Manager Console
  3. Run the following command:
Terminal window
Uninstall-Package Nodinite.LogAgent.Log4NetAppender

Open a command prompt or terminal in your project directory and run:

Terminal window
dotnet remove package Nodinite.LogAgent.Log4NetAppender

Remove the Nodinite appender configuration from your log4net.config, app.config, or web.config file:

  1. Open your configuration file in Visual Studio or a text editor
  2. Locate the <appender> element with type="Nodinite.LogAgent.Log4NetAppender.NodiniteLog4NetAppender,Nodinite.LogAgent.Log4NetAppender"
  3. Remove the entire <appender> element
  4. Remove the <appender-ref> reference from the <root> or <logger> element
<log4net>
<appender name="NodiniteLog4NetAppender" type="Nodinite.LogAgent.Log4NetAppender.NodiniteLog4NetAppender,Nodinite.LogAgent.Log4NetAppender">
<!-- Configuration parameters -->
</appender>
<root>
<level value="INFO"/>
<appender-ref ref="NodiniteLog4NetAppender"/>
</root>
</log4net>
<log4net>
<root>
<level value="INFO"/>
</root>
</log4net>

Step 4: Remove Unused Dependencies (Optional)

Section titled “ Step 4: Remove Unused Dependencies (Optional)”

The NuGet package manager typically removes unused dependencies automatically. However, if other packages in your project use the same dependencies, they will remain installed.

To check for unused packages:

  1. Right-click on the project in Solution Explorer
  2. Select Manage NuGet Packages...
  3. Review the Installed tab for packages like:
    • IBSS.Libraries.Contracts.LogRestApi
    • Any other dependencies that are no longer needed
  1. Rebuild your solution in Visual Studio (Build > Rebuild Solution)
  2. Test your application to ensure it runs correctly without the Log4Net Appender
  3. Verify that no errors appear related to missing Nodinite references

If you need to rollback after uninstalling, simply reinstall the NuGet package:

Terminal window
Install-Package Nodinite.LogAgent.Log4NetAppender

Then restore your configuration from the backup you created in Step 1.


After uninstalling:

  • No new log events will be sent to Nodinite from your application
  • Existing log data persists in Log Views until removed by retention policies or manual deletion by administrators
  • Retention policies will eventually remove old log data according to configured schedules

If you need help to uninstall, contact Support.


...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...