Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagecell
Path: blob/master/contrib/vm/compute_node/etc/rsyslog.d/sagecell.conf
448 views
1
global(maxMessageSize="64k")
2
3
module(load="omrelp")
4
5
template(name="sagecell_local" type="list") {
6
property(name="syslogtag")
7
property(name="msg" spifno1stsp="on")
8
property(name="msg" droplastlf="on")
9
constant(value=" #")
10
property(name="syslogseverity-text" caseconversion="upper")
11
constant(value="\n")
12
}
13
14
if $syslogfacility-text == "local3" then
15
{
16
action(type="omfile"
17
file="/var/log/sagecell.log"
18
template="sagecell_local")
19
if $syslogseverity-text != "debug" and $msg contains " sagecell.stats " then
20
action(type="omrelp"
21
target="10.0.3.1"
22
port="12514"
23
action.resumeRetryCount="-1"
24
queue.type="linkedList"
25
queue.filename="sagecell"
26
queue.maxDiskSpace="1g"
27
queue.saveOnShutdown="on")
28
stop
29
}
30
31