This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

The extended logging checkbox can be enabled, then edit the conf/logging.xml file.

Here is an example config for logging to a Kiwi SysLog server:

<?xml version="1.0" encoding="UTF-8"?>
<Syslog defaultMask="INFO">
	<Logger name="UNIXSyslogLog" class="com.protomatter.syslog.UNIXSyslogLog">
		<logServer>172.16.247.130</logServer>
		<Format class="com.protomatter.syslog.SimpleSyslogTextFormatter">
			<showChannel>false</showChannel>
			<showThreadName>false</showThreadName>
			<showHostName>false</showHostName>
			<dateFormat>MM/dd/yyyy HH:mm:ss</dateFormat>
			<dateFormatCacheTime>1000</dateFormatCacheTime>
			<dateFormatTimeZone>America/Denver</dateFormatTimeZone>
		</Format>
		<Policy class="com.protomatter.syslog.SimpleLogPolicy">
			<channels>ALL_CHANNEL</channels>
			<logMask>INHERIT_MASK</logMask>
		</Policy>
	</Logger>
</Syslog>

Config for Orion Syslog

<?xml version="1.0" encoding="UTF-8"?>
<Syslog defaultMask="INFO">
            <Logger name="UNIXSyslogLog" class="com.protomatter.syslog.UNIXSyslogLog">
                        <logServer>IP of Orion SysLog Server</logServer>
                        <port>514</port>
                        <facility>0</facility>
                        <tag>CrushFTP</tag>
                         <showHostname>true</showHostname>
                        <messageTemplate>[{SEVERITY}] {CALLER}: {MESSAGE}</messageTemplate>
                        <SeverityMap>
                        <MapEntry>
                         <syslog>DEBUG</syslog>
                         <unix>DEBUG</unix>
                         </MapEntry>
                         <MapEntry>
                        <syslog>INFO</syslog>
                        <unix>INFO</unix>
                        </MapEntry>
                        <MapEntry>
                        <syslog>WARNING</syslog>
                        <unix>WARNING</unix>
                        </MapEntry>
                        <MapEntry>
                        <syslog>ERROR</syslog>
                        <unix>ERROR</unix>
                        </MapEntry>
                        <MapEntry>
                        <syslog>FATAL</syslog>
                        <unix>EMERGENCY</unix>
                        </MapEntry>
                        </SeverityMap>
            </Logger>
</Syslog>
 
ORIGINAL
 
<?xml version="1.0" encoding="UTF-8"?>
<Syslog defaultMask="INFO">
            <Logger name="UNIXSyslogLog" class="com.protomatter.syslog.UNIXSyslogLog">
                        <logServer>IP of Kiwi SysLog Server</logServer>
                        <Format class="com.protomatter.syslog.SimpleSyslogTextFormatter">
                                    <showChannel>false</showChannel>
                                    <showThreadName>false</showThreadName>
                                    <showHostName>false</showHostName>
                                    <dateFormat>MM/dd/yyyy HH:mm:ss</dateFormat>
                                    <dateFormatCacheTime>1000</dateFormatCacheTime>
                                    <dateFormatTimeZone>America/Denver</dateFormatTimeZone>
                        </Format>
                        <Policy class="com.protomatter.syslog.SimpleLogPolicy">
                                    <channels>ALL_CHANNEL</channels>
                                    <logMask>INHERIT_MASK</logMask>
                        </Policy>
            </Logger>
</Syslog>

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
syslog.png 17.4 kB 1 25-Oct-2018 04:31 Ben Spink
« This particular version was published on 25-Oct-2018 04:31 by Ben Spink.
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki