Loading

Scheduler でフローが動作したことをログに残す方法

公開日: Jun 11, 2025
説明

既定の設定では Scheduler でフローが動作したことはログに残りません。

解決策

最も適切な方法はフローの先頭などで Logger コンポーネントでログを出力することです。

他の方法として、以下のパッケージを DEBUG レベルとすることでもログに残すことが可能です。

<AsyncLogger name="org.mule.runtime.core.internal.context.notification.Policy" level="DEBUG"/>

以下のようなログが残ります。
resourceId がフローの名前です。

DEBUG 2025-04-10 18:09:03,627 [[MuleRuntime].uber.11: org.mule.runtime.core.internal.source.scheduler.DefaultSchedulerMessageSource.pollingExecutor - myfirstappFlow/source @2a834d0b] [processor: ; event: ] org.mule.runtime.core.internal.context.notification.Policy: Sending notification: PipelineMessageNotification{action=pipeline process start, resourceId=myfirstappFlow, serverId=shinyas-ltmwgp8.internal.salesforce.com..myfirstapp, timestamp=1744276143627}

ナレッジ記事番号

005036343

 
読み込み中
Salesforce Help | Article