mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 03:20:41 +01:00
10 lines
238 B
Tcl
10 lines
238 B
Tcl
proc doAction {msg} {
|
|
set fd [open "rsyslog.out.log" a]
|
|
puts $fd "message processed:"
|
|
foreach {k v} $msg {
|
|
puts $fd " $k: <<$v>>"
|
|
}
|
|
puts $fd " uppercase message: <<[string toupper [dict get $msg message]]>>"
|
|
close $fd
|
|
}
|