JoaoJandre commented on code in PR #10980:
URL: https://github.com/apache/cloudstack/pull/10980#discussion_r2140923326


##########
client/conf/log4j-cloud.xml.in:
##########
@@ -50,9 +50,7 @@ under the License.
       <!-- Append warnings+ to the syslog if it is listening on UDP port -->
       <!-- ============================== -->
 
-      <Syslog name="SYSLOG" host="localhost" facility="LOCAL6">
-         <ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY"/>
-         <PatternLayout pattern="%d{DEFAULT} %-5p [%c{1.}] (%t:%x) 
(logid:%X{logcontextid}) %m%ex{filters(${filters})}%n"/>
+      <Syslog name="SYSLOG" host="localhost" port="514" protocol="UDP" 
appName="ApacheCloudStack" facility="LOCAL6">

Review Comment:
   ```suggestion
         <Syslog name="SYSLOG" host="localhost" port="514" protocol="UDP" 
appName="ApacheCloudStack" facility="LOCAL6">
                  <ThresholdFilter level="WARN" onMatch="ACCEPT" 
onMismatch="DENY"/>
                  <PatternLayout pattern="%-5p [%c{1.}] (%t:%x) %m%ex%n"/>
   
   ```
   This works on my env, assuming that rsyslog is listening on the correct port.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to