You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dan Händevik (JIRA)" <ji...@apache.org> on 2011/02/02 11:57:28 UTC

[jira] Commented: (LOG4NET-166) This(1.2.10) doesn't support output TAB character as previous build(1.2.9) anymore, all TAB will be replaced as SPACE char.

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

Dan Händevik commented on LOG4NET-166:
--------------------------------------

Try to use html escaped code for tab &#x9; instead of %t

/Dan

> This(1.2.10) doesn't support output TAB character as previous build(1.2.9) anymore, all TAB will be replaced as SPACE char.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-166
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-166
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows XP/2003 with log4net 1.2.10 and .net 2.0 runtime.
>            Reporter: Tom Tang
>
> Here is my conversation pattern for output:
> "%c	[%t]	%p	%d{yyyy/MM/dd HH:mm:ss:ffff}	%X{rquid}	%m%n"
> PS. I found this web page in html format does not display [TAB] well, but I used [TAB] on above one, not [SPACE].
> Using LayoutType : "log4net.Layout.PatternLayout"
> I use "\t"(TAB Char) to separate each column, it did work in log4net 1.2.9(.net 1.1), then I can use String.Split('\t') to split it.
> After I replace old dll with log4net 1.2.10 build on running on .net 2.0, it doesn't work anymore.
> All TAB char will be replaced to be SPACE char.
> Is it a bug or any other workaround to make possibility on output TAB char as before?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira