Configuring your Application to use the TCP Log Router

New in ReflectInsight v5.6.1 is the ability to add Remote Connections to the ReflectInsight Live Viewer. These Remote Connections are connections to the ReflectInsight Router Service. If you’ve read the posts this morning then you know how to install and configure the ReflectInsight Router Service and then add Remote Connections to the ReflectInsight Live Viewer. Now we will walk through how to configure your application to send messages to the ReflectInsight Router Service.

Open up your ReflectInsight.config file (if using satellite configuration files) otherwise go to the app or web configuration file and go to the section named <insightSettings>. You will then need to add a Router section as shown here:

image

The default port to connect to us 10881. If you changed the port in the ReflectInsight Router Service, you will need to set the same port here.

If the ReflectInsight Router Service is installed on the same machine as your application than you can leave the hostname to “localhost”. If the ReflectInsight Router Service is installed on another machine, you will need to put the computer name or IP.

NOTE: Port 10881 is the port from which your application will communicate to the ReflectInsight Router Service. The ReflectInsight Live Viewer will communicate to the ReflectInsight Router Service on port 10882.

Now that you’ve added the Router reference, you need to reference this named Router from your listener groups destination as shown here:

image

Enjoy!

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

Advertisement

ReflectInsight Log Viewer–Reload Log File Feature

New in ReflectInsight v5.6.1 is the ability to quickly reload a log file in the ReflectInsight Log Viewer. You will notice a new ribbon toolbar button “Reload”:

image

Clicking on this button will just reload the current log file. If you have unsaved changes to the log file in memory, you will be prompted to save or discard before reloading the log file.

Enjoy!

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

Getting Started with ReflectInsight Remote Connections

New in ReflectInsight v5.6.1 is the Remote Connections view. This feature allows you to connect the ReflectInsight Live Viewer to any remote ReflectInsight Router Service and receive logging messages in real-time from the remote computers ReflectInsight Router Service.

Typical use case for this is that you have applications running on QA, Staging or even Production systems and you want to see the log files…but not just any log file…live log files! How is this possible? Well from your application you configure it to send to the Router listener (among others). The Router listener will then router your application logged messages in real-time to a ReflectInsight Router Service. If need be this Router Service is accessible from behind the firewall, possibly on another machine. Now from your ReflectInsight Live Viewer, you connect to this ReflectInsight Router Service and once connected, you will receive on your local computer all logged messages in real-time from your applications. This eliminates the need to remote desktop in to servers to view log files or view log files from network shares or from terminal service applications.

Remote Connections

The Remote Connections is a feature that is available with our Standard edition of ReflectInsight and just with the Live Viewer. It is also a free upgrade to those with active Support and Upgrade subscriptions.

To enable the Remote Connections view go to the SETTINGS tab in the Live Viewer and click on Remote Connections.

sshot-299

The Remote Connections view will show up at the bottom of the Live Viewer. You can re-dock it someplace else if you desire.

To add a Remote Connection, click on the first icon which will add a Remote Connection:

sshot-300

When adding a Remote Connection the port automatically defaults to 10882, which is the default port configuration in the ReflectInsight Router Service. If you changed the port to another value you will want to enter that value here.

sshot-297

  • The Display Name is a human readable display for the computer your connecting to.
  • The Computer Name is either the computer name or IP.
  • Activate Connection Immediately will do as it says, after creating the Remote Connection it will immediately activate and connect to the remote computer.
  • Group Name (OPTIONAL) is just something for you to identify which group the remote connection belongs to. Could be QA, Staging, Production, Toronto, New York, Europe, etc.
  • Description (OPTIONAL) is another field for you to describe the connection.
    After creating your Remote Connection, you will see it in the Remote Connections view. The Remote Connections view also shows you detailed information about each remote connection, like connection status, total number of messages received and the last received timestamp.
    From the Remote Connections view you can edit, stop or start an existing Remote Connection.

sshot-296

The ReflectInsight Live Viewer will also show a new connection status toggle button on the status bar. You can use this to turn off all active connections. If you turn it back on, it will re-enable any previous active connections.

sshot-298

Once you start  using the Remote Connections view with the ReflectInsight Router Service, you will realise that this is a game changer!

Enjoy!

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

Getting Started with ReflectInsight Router Service

With ReflectInsight v5.6.1, we made some changes to the ReflectInsight Router Service.

Installation

There are several changes to the ReflectInsight Router Service in v5.6.1. The installer now provides a more custom installation experience. By default it will install to C:\Program Files\ReflectSoftware\ReflectInsight Router Service\, but during installation you can now configure this to another location. Previously when you installed the ReflectInsight Router Service, it was just a folder with the service application files. You had to manually copy to another location and run the installation script to install the service.

image

For this blog post I’m going to change it to C:\ReflectInsight Router Service\

image

Another change during the installation process is that the ReflectInsight Router Service is now installed and started by default. Note…you may have issues starting the service if you don’t configure the permissions on the installation folder as well as the default logging folder c:\ProgramData\ReflectSoftware\ReflectInsight Router Service\. Once these folder have proper permissions, the service should be working as expected.

image

Finally after installation you can browse to the installation folder to configure the service if necessary:

 

Configuring the ReflectInsight Router Service

To configure the ReflectInsight Router Service, open up the file named Router.Service.exe.config.

image

As mentioned above, the default log directory for the ReflectInsight Router Service is now in C:\ProgramData\ReflectSoftware\ReflectInsight Router Service\. For this blog post I reconfigured the logging directories to the current directory using the following value $(workingdir) to show another option.

image

 

TCP Router Port

You will want to make note that the ReflectInsight Router Service is defaulted to using TCP port 10882 for connections to the ReflectInsight Live Viewer. You can configure the port to anything you like, just be sure to connect to this port value from the ReflectInsight Live Viewer Remote Connections configuration. Our next blog post will cover that in more detail.

That is it for configuring the ReflectInsight Router Service.

Enjoy!

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

Announcing ReflectInsight 5.6.1

Today we’re excited to announce the general availability of our next release of ReflectInsight, version 5.6.8205.6145.

This update includes the following bug fixes and improvements:

Live and Log Viewer Improvements

  • Upgraded to .NET Framework 4.5.1
    • Added new Remote Connection feature to the Live Viewer which provides the ability to connect to a remote Router Services via TCP. This enables live logging on your current machine from remote machines
    • Added new Reload current log file from within the Log Viewer
    • Added Date and Time to the Bookmarks view in the Live and Log Viewers
      • Tweaked the JSON syntax highlighter in message details
      • General fixes and performance improvements

Router Service Improvements

  • Upgraded to .NET Framework 4.5.1
    • Router Service installer now installs and auto starts the Router Service
    • Router Service can be installed anywhere now, defaults to Program Files
    • General fixes and performance improvements

Library Improvements

Added ability to format the filename with the following options:

    <destination name="TextFile" enabled="true" filter="" details="TextFile[path=%SpecialFolderName%\TextFile-{{UserName}}-{{MachineName}}{{utctime{yyMMdd-hh:mm:ss.fff}}}.txt; messageDetails=Message; messagePattern=pattern1; autoSave=save3; allowPurge=true]" />

    If you note the time format, you can pass any file string format as per DateTime.ToString(). You can use utctime or just time.

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

ReflectInsight v5.6.1 Viewer and Router Service is Coming Soon

Our next major release of ReflectInsight Viewer and Router Service is only a few days away and it’s packed with some awesome new features that have long been requested by our users. We’re just finishing off some tests of the Live Viewer and Router Service and expect to release on June 6 2016.

Here are some of the new features and improvements:

  • Upgraded ReflectInsight apps Live Viewer, Log Viewer and Router Service to .NET Framework 4.5.1
  • Added new Remote Connection feature to the Live Viewer which provides the ability to connect to remote Router Services via TCP. This enables live logging on your current machine from remote machines
  • Added new Reload current log file from within the Log Viewer
  • Added Date and Time to the Bookmarks view in the Live and Log Viewers
  • Router Service installer now installs and auto starts the Router Service
  • Router Service can be installed anywhere now, defaults to Program Files
  • Tweaked the JSON syntax highlighter in message details
  • General fixes and performance improvements
    We will be providing more details in the next couple days for the above features, so please stay tuned and check for announcements on our blog, Twitter and Facebook.

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

Announcing ReflectInsight 5.6.1

Today we’re excited to announce the general availability of our next release of ReflectInsight library , version 5.6.1.

This update includes the following improvements:

Library Improvements

  • Incorrect version number on assembly
  • Minor bug fix

Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

Download_Trial42

We welcome any feedback you may have. Feedback can be given at our UserVoice site.

Thanks
The ReflectSoftware Team

%d bloggers like this: