Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16888

Tail Files: Cannot see log of cron cartridge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • LATER
    • 4.2.0.Beta1
    • openshift
    • Hide
      1. ASSERT: Have a jbossas-7 application on OpenShift
      2. EXEC: Embed Cron cartridge to the application
      3. EXEC: add some cron job in .openshift/cron/minutely
        #!/bin/bash
        date >> ${OPENSHIFT_JBOSSAS_LOG_DIR}/ticktock.log
        
      4. EXEC: Open Tail Files shell (from context menu of the application) and try to tail Cron (it is on same gear as app)
      5. EXEC: Check tailing in console

      Result: There is not Cron log in console

      Expected result: There should be Cron log

      Show
      ASSERT: Have a jbossas-7 application on OpenShift EXEC: Embed Cron cartridge to the application EXEC: add some cron job in .openshift/cron/minutely #!/bin/bash date >> ${OPENSHIFT_JBOSSAS_LOG_DIR}/ticktock.log EXEC: Open Tail Files shell (from context menu of the application) and try to tail Cron (it is on same gear as app) EXEC: Check tailing in console Result: There is not Cron log in console Expected result: There should be Cron log
    • Workaround Exists
    • Hide

      change tail-file pattern to /log/

      Show
      change tail-file pattern to /log /
    • Low

      After adding embeddable cartridge Cron into the application it is not possible to tail the cron-logs out-of-the-box. It is required to modify tail files pattern to include Cron job's log store in /cron/log.

            Unassigned Unassigned
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: