Forms 워크플로우 단계에서는 워크플로우와 관련된 문제를 편리하게 디버깅하는 자세한 로그를 제공합니다. AEM Forms 워크플로우에 대한 디버그 로깅을 사용하여 로그를 봅니다.
기본적으로 모든 로깅 정보는 /crx-repository/logs/ 디렉토리의 error.log 파일에서 사용할 수 있습니다.
양식 워크플로우의 디버그 로그는 다음과 같습니다.
각 워크플로우 단계의 항목입니다. 예:
[DEBUG] "Executing Invoke DDX Process step"
각 워크플로우 단계를 종료합니다. 예:
[DEBUG] "Successfully finished Invoke DDX Process step"
서비스 호출 메시지. 예:
[DEBUG] Invoking Adobe Sign Service for creating agreement
서비스 종료 메시지. 예:
[DEBUG] Agreement created successfully with agreement id <agreement id>
메타데이터 맵에서 읽은 변수입니다. 예:
[DEBUG] Successfully retrieved variable <variable name> from workflow meta data map
JCR 저장소에 작성된 변수. 예:
[DEBUG] Successfully written variable <variable name> into meta data node at <JCR path where meta data is being written>
전체 스택 추적이 있는 예외 메시지입니다. 예:
[DEBUG] Exception in Adobe Sign Service <complete stack trace>
동적 단계 메타데이터 매개 변수. 예:
[DEBUG] Document of Record to be generated for adaptive form <path of adaptive form>
[DEBUG] Locale to be used for Document of Record is <locale>
다음 예제에서는 문서 서명 단계의 로그를 보여 줍니다.
[DEBUG] Executing sign document step.
[DEBUG] Using adobe sign configuration: <path of adobe sign configuration>
[DEBUG] Invoking Adobe Sign Service for creating agreement
[DEBUG] Agreement created successfully with agreement id <agreement id>
[DEBUG] Exception in Adobe Sign Service <complete stack trace>
[ERROR] Exception in Adobe Sign Service
[DEBUG] Successfully finished sign document step
로그를 사용하여 다음을 평가합니다.
예외가 있는 경우 전체 스택 추적을 확인하여 오류 원인을 평가할 수 있습니다.
AEM Forms 워크플로우에 대한 디버그 로깅을 활성화하려면 다음 단계를 수행하십시오.
다음 위치에서 AEM 웹 콘솔 구성 관리자로 이동합니다.
https://'[server]:[port]'/system/console/configMgr
Sling > 로그 지원을 선택합니다.
새 로거 추가 를 누릅니다.
Debug로그 수준으로 선택합니다.
로그 파일의 위치를 지정합니다. 로그 파일의 기본 위치는 다음과 같습니다.logs\error.log
로거 열에서 패키지 이름을 com.adobe.granite.workflow.core로 지정합니다.
이러한 단계를 실행하면 com.adobe.granite.workflow.core 패키지에 대한 디버그 로그를 저장할 수 있습니다. + 를 탭하고 다음 패키지 이름을 목록에 추가합니다.