Description
Steps to reproduce
Create an Eventing function having non global function scope.
Deploy the function created in previous step. Application log file gets created inside b_<bucket-name>/s_<scope-name> directory as expected.
Undeploy and redeploy the Eventing function.
Log messages continue to get written to the log file created in step 2.
Pause and resume the function.
Observation
New application log file gets created inside b_<bucket-name>/s_<scope-name>/b_<bucket-name>/s_<scope-name> directory which is unexpected in this case.
Note
This is a regression due to the changes made as part of MB-51101.