Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3234

Cant put date on gc log files for amq

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • jboss-fuse-6.1
    • None
    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration, User Experience
    • % %

    Description

      Description of problem:

      When trying to enable AMQ GC logging, Customer would like the log's to role, and be dated, with a time stamp when they are created.

      This can be done with AMQ when a service script is not used.
      see https://access.redhat.com/solutions/18656

      Version-Release number of selected component (if applicable): 2.2

      How reproducible: 100%

      Steps to Reproduce:
      1. Use configuration in /etc/activemq/wrapper.conf

      Actual results:

      The date for the GC log is not created or expanded, because the wrapper does not call out to the host system for the proper time.

      Expected results:

      This should work like the non java service script.

      Additional info:

      wrapper.java.additional.16=-verbose:gc
      wrapper.java.additional.17=-Xloggc:%ACTIVEMQ_BASE%/log/activemq-vgc.log.`date +%Y%m%d%H%M%S`
      wrapper.java.additional.18=-XX:+PrintGCDetails
      wrapper.java.additional.19=-XX:+PrintGCDateStamps
      wrapper.java.additional.20=-XX:+PrintGCTimeStamps
      wrapper.java.additional.21=-XX:+UseGCLogFileRotation
      wrapper.java.additional.22=-XX:NumberOfGCLogFiles=5
      wrapper.java.additional.23=-XX:GCLogFileSize=128K
      wrapper.java.additional.24=-XX:+UseParallelOldGC

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-edrich Eric Rich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: