Out of nowhere: Further logs are unavailable; reached maximum log lines per invocation: 30

Suddenly, forge logs has stopped providing me with more logging than 30 lines (which is nothing if it is the only debugging option I have) per invocation.

Is this real??

I have a probable cause of this. to build a data structure, I need a recursive function. So, if for debugging purposes I give this recursive function some logging, the log entries all come from the same ‘thing’ inside forge:

INFO    2023-04-07T12:35:49.795Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_DependencyList_Render
INFO    2023-04-07T12:35:49.795Z a3bbe723-2f4f-433e-a770-990df49cfe65 getGlobalDLDict: DLDEV
INFO    2023-04-07T12:35:50.067Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_DependencyList_Render
INFO    2023-04-07T12:35:50.067Z a3bbe723-2f4f-433e-a770-990df49cfe65 getGlobalDLDict: DLDEV
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_DependencyList_Render
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_DependencyList_Render
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680033930-1lnh11jk9rw
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680033930-1lnh11jk9rw exists
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies parent design 1680033938-o3esujzjqe exists
INFO    2023-04-07T12:35:50.228Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680033861-yx2tm6oxz7
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680033861-yx2tm6oxz7
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680033861-yx2tm6oxz7 exists
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies parent design 1680033938-o3esujzjqe exists
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680033938-o3esujzjqe
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680033938-o3esujzjqe
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680033938-o3esujzjqe exists
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies parent design 1680037975-rlo1zifazr9 exists
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680033947-gs8v61aj02j
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680033947-gs8v61aj02j
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680033947-gs8v61aj02j exists
INFO    2023-04-07T12:35:50.229Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies parent design 1680037975-rlo1zifazr9 exists
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680037975-rlo1zifazr9
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680037975-rlo1zifazr9
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680037975-rlo1zifazr9 exists
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680037975-rlo1zifazr9
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680033947-gs8v61aj02j
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies handle dependency 1680792877-a0i4h8q1mj
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies 1680792877-a0i4h8q1mj
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies design 1680792877-a0i4h8q1mj exists
INFO    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 DL_AllDependencies parent design 1680790046-9jb1knu9rb9 exists
WARN    2023-04-07T12:35:50.230Z a3bbe723-2f4f-433e-a770-990df49cfe65 Further logs are unavailable; reached maximum log lines per invocation: 30
INFO    2023-04-07T12:35:50.053Z e9cc9700-e887-4cae-8ea9-317c1746732a DL_DecisionStory_Render
INFO    2023-04-07T12:35:50.053Z e9cc9700-e887-4cae-8ea9-317c1746732a getGlobalDLDict: DLDEV
INFO    2023-04-07T12:35:50.314Z e9cc9700-e887-4cae-8ea9-317c1746732a DL_DecisionStory_Render
INFO    2023-04-07T12:35:50.716Z aef52c97-e717-4a77-856c-c8795ba93928 dl_handleTriggerPageViewed

So, forge assumes this is a single ‘invocation’, but for recursive functions this is quickly not the case.

Hi @GerbenWierda,

You are correct that 30 lines is the current limit of log lines for invocation. This is documented as part of the Invocation limits.

FRGE-995 is the open ticket that you can follow to see if any improvements are considered in the future.

Thanks,
Caterina

1 Like

This is crazy. 30 lines is nothing if you do complex things.