WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How to get WAS logs in Unicode?

    Posted 03/15/23 06:49 AM

    Hi everyone,

    we are running FileNet Content Engine in WAS 8.5.5.12 and in SystemOut we get question marks for Unicode characters. e.g.

     ObjectAuditHandler - getValidParentFolder : folder name : b.?????? ???????
     ObjectAuditHandler - getValidParentFolder : folder class description : EAC_NetAppSubFolder
     ObjectAuditHandler - getValidParentFolder : folder name : 2.1 ?????? - ?????????? ???????
     ObjectAuditHandler - getValidParentFolder : folder class description : EAC_NetAppSubFolder
     

    Is there a way to instruct WAS write logs in Unicode?

    BR

    Christos 



    ------------------------------
    Christos Chorattides
    Datatech
    ------------------------------


  • 2.  RE: How to get WAS logs in Unicode?

    Posted 03/17/23 12:07 PM

    try to set WAS JVM argument and reboot WAS, eg:

    -Dfile.encoding=UTF-8 -Duser.region=US -Duser.language=en_US



    ------------------------------
    LI MIN YU
    ------------------------------



  • 3.  RE: How to get WAS logs in Unicode?

    Posted 03/22/23 06:26 AM

    Worked!

    Thanks!



    ------------------------------
    Christos Chorattides
    Datatech
    ------------------------------