📄 manual.html
字号:
<html><head><title>Java SyslogD</title></head><body><h2>Introduction</h2>Syslogd is a Java based syslog inplementation that allows youto monitor messages posted by the standard syslogd protocol,common on UNIX systems. By adding a simple line to your syslogconfiguration under UNIX, you can have all (or some) messagesredirected to this application.<p>Why? Because many people have good reason to monitor the logfiles on UNIX systems, and having a nice server to do so canbe a big help. This application allows you to tie certainsyslog messages to <em>actions</em>, which can range fromplaying a sound file, to running a system command, to invokinga custom Java class that you program.<p>For instance, on my PC, I have an entry that "listens" formessages posted to the MAIL facility. However, since thissyslog server has the ability to <em>grep</em> messages, Ican have it play a unique sound for <em>each</em> addressthat I configure it to recognize, while ignoring email toall other addresses. Also, when the PPP daemon on my UNIXhost reports that the connection has been lost, I fire upa custom class to invoke an rexec command that restartsthe PPP daemon. Yes, I know there are easier ways to dothis, but I like the notification on my PC. Anyway, I thinkyou get the idea.<h2>The Configuration File</h2>The<a href="config.html">Configuration Manual</a>describes the format of the configuration file, whichdetermines every aspect of Syslogd's operation and thewindows displayed.<h2>The Properties File</h2>The properties file defines properties that affect thedisplay and operation of Syslogd. Currently, the only itemsdefined in the properties.txt file are window dimensions.<p>The propertied prefixed with 'SyslogD.mainWindow' affectthe display of Syslogd's primary window. Those propertiesprefixed by 'SyslogD.aboutDialog' affect the About dialogbox.<h2>Forwarding Syslog Messages</h2>Frequently, users of Syslogd are monitoring messages thatare actually logged on a UNIX host. These users typicallywish to bring a critical log message to the attention ofa user who is working on a PC. There are many other applications,but this is the most common.<p>To accomplish this task, one simply needs to add a line tothe syslog configuration file on the UNIX host. This file isusually located on the path '/etc/syslog.conf'. If you aretrying to forward messages from the UNIX host to a hostnamed 'pc.dom.ain', then you would add a line to thesyslog configuration file on the UNIX host as follows:<pre> *.debug @pc.dom.ain</pre><p>This line would cause messages in all facilities ('*'), withpriority greater than or equal to 'debug' to be forwarded tothe host named 'pc.dom.ain'.<h2>That's All Folks</h2>There's not much more to Syslogd.<br>Other secrets, of course, can be gleaned from the code.<p>tim.<!-- ================ HOME PAGE ================== --><hr><a href="http://www.ice.com/java/syslogd/index.html">The SyslogD Home Page</a>will always contain the latest version of SyslogD foryour downloading pleasure.<hr><FONT SIZE="-2"><center>$Id: manual.html,v 1.2 1998/07/29 02:15:11 time Exp $<br>Copyright (c) 1997 By Timothy Gerard Endres<br>SyslogD is licensed to you under the<a href="License.html">GNU General Public License</a>.</center></FONT></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -