Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-393

Logging no longer prints in samples

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.2
    • None
    • blade-samples
    • None

    Description

      Issue
      Modules using LogService are not printing any logs at level INFO or below.

      Steps to reproduce

      1. Prepare a clean 7.1 instance
      2. Add the following portal-ext.properties to enable gogo shell
        module.framework.properties.osgi.console=localhost:11311
        
      1. Start Liferay
      2. Create a sample project from blade samples
        $> blade samples -v 7.1 scheduler-entry
        
      1. Change the trigger from 15min to 1min
        $> cd scheduler-entry
        $> sed -i "" "s/getEventListenerClass(), 15/getEventListenerClass(), 1/g" src/main/java/com/liferay/blade/samples/schedulerentry/BladeSchedulerEntryMessageListener.java
        
      1. deploy sample to running Liferay
        $> blade deploy
        Installed bundle 752
        Started bundle 752
        
      1. Confirm plugin has started in Liferay logs
        019-01-18 01:33:36.298 INFO  [pipe-start 752][BundleStartStopLogger:39] STARTED com.liferay.blade.scheduler.entry_1.0.0 [752]
        
      1. Wait a couple minutes and confirm scheduler triggers job and message is recorded in logs

      Expected results
      Message is recorded in logs every minute

      Actual results
      No message is recorded whatsoever

      Reproduced in
      blade samples -v 7.1 scheduler-entry
      blade samples -v 7.0 scheduler-entry

      Attachments

        Activity

          People

            lawrence.lee Lawrence Lee
            alfred.sampang Alfred Sampang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package