[ 
https://issues.apache.org/jira/browse/STORM-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129675#comment-15129675
 ] 

ASF GitHub Bot commented on STORM-1519:
---------------------------------------

Github user erikdw commented on the pull request:

    https://github.com/apache/storm/pull/1068#issuecomment-178969462
  
    @jerrypeng : heh, yep, I read the whole bug before my first reply.  And it 
had this note:
    * "immediateFlush - When set to true - the default, each write will be 
followed by a flush. This will guarantee the data is written to disk but could 
impact performance."
    
    And *that* is what scared me into replying actually!   The log4j2 docs 
should probably just be updated to "written to disk or network".


> Storm syslog logging not confirming to RFC5426 3.1
> --------------------------------------------------
>
>                 Key: STORM-1519
>                 URL: https://issues.apache.org/jira/browse/STORM-1519
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Boyang Jerry Peng
>            Priority: Minor
>
> AS per RFC 5426 section 3.1, there should be only one message per datagram:
> 3.1. One Message Per Datagram
> Each syslog UDP datagram MUST contain only one syslog message, which
> MAY be complete or truncated. The message MUST be formatted and
> truncated according to RFC 5424 [2]. Additional data MUST NOT be
> present in the datagram payload.
> For example
> UDP package: <174>1 2016-02-02T22:44:05.558Z localhost [nimbus] - [nobody:S0] 
> [mdc@18060 ClassName="?"] Using custom scheduler: 
> backtype.storm.scheduler.bridge.MultitenantResourceAwareBridgeScheduler 
> <174>1 2016-02-02T22:44:05.591Z localhost [nimbus] - [nobody:S0] [mdc@18060 
> ClassName="?"] Creating new blob store based in /home/y/var/storm/blobs
> but the two log messages should be each in their own udp packet



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to