logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51438] New: Pipe characters issue in log() method
Date Mon, 27 Jun 2011 13:25:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51438

             Bug #: 51438
           Summary: Pipe characters issue in log() method
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: goujona@3il.fr
    Classification: Unclassified


In the following code :

String test = "[a|b|c]";
System.out.println("+++ " + test);
logger.log(Level.SEVERE, test);

output is :
+++ [a|b|c]
[a

The pipe character and the following characters are not printed.
I tried doubling it ||, escaping it \|, enclosing it '|', using the unicode
char \u007c, none of them work.

I'm using log4j-1.2.14.jar but I tried log4j-1.2.16.jar and the issue is still
present.

Maybe | has a special meaning and displaying it requires something special.

Any idea ?
Thanks in advance !

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message