0 Replies Latest reply on Mar 27, 2003 4:31 AM by padmal

    send log file

    padmal

      hello all,
      Pls advice me how to send the jboss log file to mail account.? What r the configuration. server said mail service started.But not sending mails.
      I change "mail service.xml" file and "log4j.xml" file
      here is sample code
      mailservice.xml
      ****************************************
      <!-- ==================================================================== -->
      <!-- Mail Connection Factory -->
      <!-- ==================================================================== -->

      java:/Mail
      aruna
      a

      <!-- Test -->

      <!-- Change to your mail server prototocol -->


      <!-- Change to the user who will receive mail -->


      <!-- Change to the mail server -->



      <!-- Change to the SMTP gateway server -->

      <!-- Change to the address mail will be from -->

      <!-- Enable debugging output from the javamail classes -->




      *****************************************
      log4j.xml
      *****************************************

      <!-- ====================== -->
      <!-- More Appender examples -->
      <!-- ====================== -->

      <!-- Buffer events and log them asynchronously-->

      <appender-ref ref="FILE"/>
      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="SMTP"/>


      <!-- EMail events to an administrator-->





      <param name="DatePattern" value="'.'yyyy-MM-dd-HH-mm"/>












      *****************************************
      I configured this mail addres on outlook for test. this mail address r working properly

      Pls help me

      Thanks

      pad