Chat Support
Loupe - Log - Monitor - Resolve
Loupe / Developer's Guide / For Java / Agent Configuration / Developer's Guide - Server Configuration
Developer's Guide - Server Configuration

The Server section configures an agent to communicate with a Loupe Server.  With it you can both provide the information necessary to connect to the server and whether you want sessions to be sent automatically in the background (a capability unique to the Agent / Server connection).

Option Description Default Value Required
Enabled True by default, disables server communication when false. true false
UseGibraltarService When true, specifies that the Loupe Service should be used instead of a private Server. false false
CustomerName The unique customer name when using the Loupe Service.  Does not apply when UseGibraltarService is false. "" false
Server The full DNS name of the server where the Server is located. Only applies to a private Server. "" false
UseSsl Indicates if the connection should be encrypted with SSL. Only applies to a private Server. false false
Port An optional port number override for the server. Not required if the port is the traditional port (80 or 443). Only applies to a private Server. 0 false
ApplicationBaseDirectory The virtual directory on the host for the private Server. Only applies to a private Server. "" false
Repository The specific repository on the server to send the session to.  Only applies to a private Server running Enterprise Edition. "" false
AutoSendSessions Indicates whether to automatically send session data to the server in the background. false false
AutoSendOnError Indicates whether to automatically send data to the server when error or critical messages are logged. true false
SendAllApplications Indicates whether to send data about all applications for this product to the server or just the current application. false false
PurgeSentSessions Indicates whether to remove sessions that have been sent from the local repository once confirmed by the server. false false

Examples

Connect to the Loupe Cloud-Hosted Service

To send data to the Loupe Cloud-Hosted Service (App.OnLoupe.Com) only the UseGibraltarService and CustomerName options need to be set, all others are ignored.

Publisher.ProductName=Your Product
Publisher.ApplicationName=Your Application
Publisher.ApplicationVersion=1.0.0
Server.UseGibraltarService=true
Server.CustomerName=Your Loupe Service Name
Server.AutoSendSessions=true
Server.SendAllApplications=true

Connect to a Loupe Self-Hosted Server

To send data to your own self-hosted Loupe Server at a minimum specify the server name, but if SSL is available set useSsl to force all communication to be encrypted. 

Publisher.ProductName=Your Product
Publisher.ApplicationName=Your Application
Publisher.ApplicationVersion=1.0.0
Server.Server=Full DNS Name Of Your Server
Server.UseSsl=true
Server.AutoSendSessions=true
Server.SendAllApplications=true
See Also