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

Remko Popma commented on LOG4J2-1476:
-------------------------------------

I can see that your pattern layout ends with "%n%n%n", so you would expect 3 
newlines at the end of each log event message. What do you actually see?

> New line is not appending in file logs
> --------------------------------------
>
>                 Key: LOG4J2-1476
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1476
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Layouts
>    Affects Versions: 2.6.2
>         Environment: Linux kernal system
>            Reporter: Harish HG
>            Priority: Critical
>              Labels: layout
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> New line is not appending in file logs, I used the pattern layout as below
> {code}
> <PatternLayout pattern="%n%d{dd/MM/YYYY HH:mm:ss.SSS} [%t] %-5level 
> %logger{36} %msg%n"/>
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to