[logback-user] can not generate log file in unix box but console show log msg

Wu, Jun 2 Jun2.Wu at cibc.com
Fri Aug 3 17:16:09 CEST 2012


Hello Guys,

I try Logback in IBM AIX unix box. I can not find log file, but ConsoleAppender works fine.

I try my test file in Windows, it can generate log file.

Can some body help me?

>JVM:
  java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20100813 (SR12 FP1 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20100808 (JIT enabled)

>Logback.xml for FileAppender configure:
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
    <file>myApp.log</file>
    <encoder>
      <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
    </encoder>
</appender>

>My AIX information:
Version: 6.1.0.0
64bit

Thanks in advance!

Regards,

Jun Wu| Senior Developer| Web Services Department | Deposit Products and Business Banking Technology | CIBC
(416)-780-5042 | jun2.wu at cibc.com<mailto:jun2.wu at cibc.com>

This email message and any attachments are CONFIDENTIAL. If you have received this message in error, please notify us immediately by return email and delete this message and any attachments without disclosing or distributing them further. Thank you.
Ce courriel, ainsi que toute pièce jointe, est CONFIDENTIEL. Si vous avez reçu ce message par erreur, veuillez nous en aviser surle-champ en nous le renvoyant et le supprimer, ainsi que toute pièce jointe, sans en avoir divulgué ou diffusé le contenu. Merci.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120803/4eb4ee0d/attachment.html>


More information about the Logback-user mailing list