Difference between revisions of "Turn on Syslogging"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
You can 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. | ||
==Display to Console== | ==Display to Console== | ||
| − | The following command line will start the | + | The following command line will start the syslog tool listening on port 514 and displaying incoming messages to the console. |
<source lang="DOS"> | <source lang="DOS"> | ||
"C:\Program Files\Truxton\Tools\Syslog.Server.exe" | "C:\Program Files\Truxton\Tools\Syslog.Server.exe" | ||
Revision as of 06:03, 22 May 2021
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 syslog 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:
- Stop the Truxton service.
net stop truxton
- Edit the
C:\ProgramData\Truxton\Settings\TruxtonSettings.xml - Add the following lines fields:
<truxton_options> <syslog>localhost</syslog> <syslogport>514</syslogport> </truxton_options>
- 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
- Restart the Truxton service.
net start truxton