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 29-Dec-2020 05:25 Ben Spink

This page (revision-5) was last changed on 29-Dec-2020 05:25 by Ben Spink

This page was created on 29-Dec-2020 05:25 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
The extended logging checkbox can be enabled, then edit the conf/logging.xml file.
Syslog can be used to send all logging data to a remote syslog server. When enabled a local log file is still maintained and rolled based on the configuration.
At line 3 changed 62 lines
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
}}}
[attachments|syslog.png]
Version Date Modified Size Author Changes ... Change note
5 29-Dec-2020 05:25 0.19 kB Ben Spink to previous
4 29-Dec-2020 05:25 0.15 kB Ben Spink to previous | to last
3 29-Dec-2020 05:25 2.398 kB Ben Spink to previous | to last
2 29-Dec-2020 05:25 3.524 kB Ben Spink to previous | to last
1 29-Dec-2020 05:25 0.874 kB Ben Spink to last
« This page (revision-5) was last changed on 29-Dec-2020 05:25 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki