Difference between revisions of "Turn on Syslogging"

From truxwiki.com
Jump to navigation Jump to search
(Created page with "Using syslog can be wonderful when debugging. =Syslog.Server= Use the Syslog.Server tool to be the syslog server on your local host. This will log to the filename you specify...")
 
Line 2: Line 2:
  
 
=Syslog.Server=
 
=Syslog.Server=
Use the Syslog.Server tool to be the syslog server on your local host.
+
You can use the Syslog.Server tool to be the syslog server on your local host.
This will log to the filename you specify on the command line.
+
==Display to Console==
 +
The following command line will start the suslog tool listening on port 514 and displaying incoming messages to the console.
 +
<syntaxhighlight lang="DOS">
 +
"C:\Program Files\Truxton\Tools\Syslog.Server.exe"
 +
</syntaxhighlight>
 +
==Log to a File==
 +
This command file will log any messages displayed on the console to the filename you specify.
 +
<syntaxhighlight lang="DOS">
 +
"C:\Program Files\Truxton\Tools\Syslog.Server.exe" C:\Temp\Truxton.Syslog.txt
 +
</syntaxhighlight>
  
 
=Entire ETL Layer=
 
=Entire ETL Layer=

Revision as of 02:30, 24 June 2020

Using syslog can be wonderful when debugging.

Syslog.Server

You can use the Syslog.Server tool to be the syslog server on your local host.

Display to Console

The following command line will start the suslog tool listening on port 514 and displaying incoming messages to the console.

"C:\Program Files\Truxton\Tools\Syslog.Server.exe"

Log to a File

This command file will log any messages displayed on the console to the filename you specify.

"C:\Program Files\Truxton\Tools\Syslog.Server.exe" C:\Temp\Truxton.Syslog.txt

Entire ETL Layer

To turn syslogging on for the ETL processes:

  1. stop the Truxton service.
    net stop truxton
    
  2. Edit the C:\ProgramData\Truxton\Settings\TruxtonSettings.xml
  3. Add the following lines fields:
    <truxton_options>
      <syslog>localhost</syslog>
      <syslogport>514</syslogport>
    </truxton_options>
    
  4. Start the Syslog.server management tool. You can specify a log file on the command line if you wish.
    Syslog.server c:\temp\log.txt
    
  5. Restart the Truxton service.
    net start truxton