This is how java properties files work.  You might be able to get what you want by
escaping the first tab with a backslash.

Luke

Otis Gospodnetic wrote:

> Hello,
>
> I am trying to use a logging pattern that has tabs in it, so I am using the
> following pattern:
>
> log4j.appender.SERVERLOG.layout.ConversionPattern=      D=%d    T=%t    ML=%p   C=%c
> M=%m%n
>
> The problem is that I can't get the leading tab (the one between
> '...ConversionPattern=' and 'D=') to work.
> Instead of the leading tab in the log file I see 'D=....' At the beginning
> of each log line.
> All other tabs really are tabs in the log file.
>
> Is this a bug?
> Is there a workaround?
>
> Thanks,
>
> Otis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to