Merge branch 'hotfix/log-update-layout' into 'release'

Added logs which must be removed in 24 hours.

See merge request theappsmith/internal-tools-server!146
This commit is contained in:
Trisha Anand 2020-01-07 15:23:37 +00:00
commit 1a8956afe7

View File

@ -119,7 +119,7 @@ public class LayoutServiceImpl implements LayoutService {
if (!dynamicBindings.isEmpty()) {
for (String mustacheKey : dynamicBindings) {
String key = mustacheKey.trim();
log.debug("Mustache key extracted from dsl for pageid {} is {}", pageId, key);
// Extract all the words in the dynamic bindings
Matcher matcher = pattern.matcher(key);
@ -127,7 +127,7 @@ public class LayoutServiceImpl implements LayoutService {
String word = matcher.group();
String[] subStrings = word.split(Pattern.quote("."));
log.debug("After splitting mustache key, the substrings for key {} are {}", key, subStrings);
// We are only interested in the top level. e.g. if its Input1.text, we want just Input1
dynamicBindingNames.add(subStrings[0]);
}