KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm just start using logback for logging my Java project running on glassfish3 AS, and I'm noticing some strange thing. This string of code LOG.error("Вычисление {} уже произведено.", calc); generates normal expected output if I'm running my application on windows. But if I'm the same configuration on Mac, I'm having question marks instead of words, like so: 15:37:29.083 ERROR r.g.g.c.TotalNachController - ?????????? [id=8871] ??? ???????????. my logback configuration is: <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>../logs/logback.log</file> <encoder> <pattern>%d{HH:mm:ss.SSS} %-5level %logger{35} - %msg%n</pattern> </encoder> </appender> Could someone please tell me, what I'm doing wrong?
Tags (comma-separated)
Save Edits
Cancel