Question


Accenture
JP
Last activity: 3 Mar 2016 23:18 EST
About import automatical log
Our client's non-functional request is that Pega system write automatically the log
when we import deployment resources to Prod environment.
Question:
Can Pega system write the log like this?
If you answer yes, please let me know how to write to the logs?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
US
The basic import log should be in the pega rules log by default. What kind of details are you looking for? For example, here is an example when I imported a jar file:
2016-02-15 12:10:40,223 [http-nio-8080-exec-8] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - New File Name:PegaSurvey_71ML3.jar
2016-02-15 12:10:46,841 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:47,490 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
The basic import log should be in the pega rules log by default. What kind of details are you looking for? For example, here is an example when I imported a jar file:
2016-02-15 12:10:40,223 [http-nio-8080-exec-8] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - New File Name:PegaSurvey_71ML3.jar
2016-02-15 12:10:46,841 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:47,490 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - Reading archive file://web:/StaticContent/global/ServiceExport//PegaSurvey_71ML3.jar
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - Started scanning for restricted/Blocked Rules in archive file://web:/StaticContent/global/ServiceExport//PegaSurvey_71ML3.jar
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:48,902 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:49,462 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (nal.inventory.SynchronizerImpl) INFO localhost| Proprietary information hidden [email protected] - Synchronizing with database
2016-02-15 12:10:53,050 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (nal.inventory.SynchronizerImpl) INFO localhost| Proprietary information hidden [email protected] - Synchronization complete.
2016-02-15 12:10:53,270 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] (ve_Zip_To_DB._baseclass.Action) INFO [email protected] - Import started
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Operation Status: Preparing archive
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Import Parameters...
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Fail On Error: true
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Only Insert: false
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Perform Fast Install: false
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Disable Inference Engine: false
2016-02-15 12:10:53,339 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Operation Status: Importing Instances
2016-02-15 12:10:56,792 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 58 of 2080 (02.79%): 58 committed, 0 skipped, ? seconds remaining
2016-02-15 12:11:03,772 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 158 of 2080 (07.60%): 158 committed, 0 skipped, 1:00 minutes remaining
2016-02-15 12:11:10,353 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 258 of 2080 (12.40%): 258 committed, 0 skipped, 1:34 minutes remaining
......


Pegasystems Inc.
US
what do you mean by deployment resources? Is it pega specific RAP or something else?


Accenture
JP
Hi Kevin,
depolyment resources are Zip file which use at Import wizard in Designer Studio.
Regards,
Tadashi
Accepted Solution


Pegasystems Inc.
US
The basic import log should be in the pega rules log by default. What kind of details are you looking for? For example, here is an example when I imported a jar file:
2016-02-15 12:10:40,223 [http-nio-8080-exec-8] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - New File Name:PegaSurvey_71ML3.jar
2016-02-15 12:10:46,841 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:47,490 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
The basic import log should be in the pega rules log by default. What kind of details are you looking for? For example, here is an example when I imported a jar file:
2016-02-15 12:10:40,223 [http-nio-8080-exec-8] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - New File Name:PegaSurvey_71ML3.jar
2016-02-15 12:10:46,841 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:47,490 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - Reading archive file://web:/StaticContent/global/ServiceExport//PegaSurvey_71ML3.jar
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (Accel_Management_Import.Action) INFO localhost| Proprietary information hidden [email protected] - Started scanning for restricted/Blocked Rules in archive file://web:/StaticContent/global/ServiceExport//PegaSurvey_71ML3.jar
2016-02-15 12:10:48,052 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:48,902 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (y.internal.PRRuleMgmtUtilsImpl) INFO localhost| Proprietary information hidden [email protected] - PegaSurvey_71ML3.jar is v6 Archive
2016-02-15 12:10:49,462 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (nal.inventory.SynchronizerImpl) INFO localhost| Proprietary information hidden [email protected] - Synchronizing with database
2016-02-15 12:10:53,050 [http-nio-8080-exec-1] [TABTHREAD0] [ shared] [ PegaRULES:07.10] (nal.inventory.SynchronizerImpl) INFO localhost| Proprietary information hidden [email protected] - Synchronization complete.
2016-02-15 12:10:53,270 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] (ve_Zip_To_DB._baseclass.Action) INFO [email protected] - Import started
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Operation Status: Preparing archive
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Import Parameters...
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Fail On Error: true
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Only Insert: false
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Perform Fast Install: false
2016-02-15 12:10:53,333 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - + Disable Inference Engine: false
2016-02-15 12:10:53,339 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Operation Status: Importing Instances
2016-02-15 12:10:56,792 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 58 of 2080 (02.79%): 58 committed, 0 skipped, ? seconds remaining
2016-02-15 12:11:03,772 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 158 of 2080 (07.60%): 158 committed, 0 skipped, 1:00 minutes remaining
2016-02-15 12:11:10,353 [ PegaRULES-Batch-1] [ STANDARD] [ shared] [ PegaRULES:07.10] ( internal.util.MoveLog) INFO [email protected] - Processed 258 of 2080 (12.40%): 258 committed, 0 skipped, 1:34 minutes remaining
......


Accenture
JP
Thank you for the information.
This information is that I want to know
This question is closed.
Thanks & Regards,
Tadashi