Skip to content

Commit 7943aa4

Browse files
Apply suggestions from code review
Co-authored-by: João Jandre <[email protected]>
1 parent 1d05589 commit 7943aa4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

client/conf/log4j-cloud.xml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ under the License.
5151
<!-- ============================== -->
5252

5353
<Syslog name="SYSLOG" host="localhost" port="514" protocol="UDP" appName="ApacheCloudStack" facility="LOCAL6">
54+
<ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY"/>
55+
<PatternLayout pattern="%d{DEFAULT} %-5p [%c{1.}] (%t:%x) (logid:%X{logcontextid}) %m%ex{filters(${filters})}%n"/>
5456
</Syslog>
5557

5658
<!-- ============================== -->

server/conf/log4j-cloud.xml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ under the License.
5757
<!-- ============================== -->
5858

5959
<Syslog name="SYSLOG" host="localhost" port="514" protocol="UDP" appName="ApacheCloudStack" facility="LOCAL6">
60+
<ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY"/>
61+
<PatternLayout pattern="%d{DEFAULT} %-5p [%c{1.}] (%t:%x) (logid:%X{logcontextid}) %m%ex{filters(${filters})}%n"/>
6062
</Syslog>
6163

6264
<!-- ============================== -->

0 commit comments

Comments
 (0)