priyasharma1 opened a new pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185 (OFBIZ-11762) - Replaced the debug.log methods with the respective groovy utility method - Enhanced the GroovyBaseScript to entertain the fetch the current class name as the module name for logging - Overloaded the logError method to entertain throwable object for better logging - Removed unused import statements and module variables. Thanks: Pawan Verma ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
JacquesLeRoux commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638354697 Thanks Priya, It's OK with me but for EditSurveyQuestions.groovy OpenOrderItemsReport.groovy ComputeProductSellThroughData.groovy CountFacilityInventoryByProduct.groovy ProductPromoCondServices.groovy FetchLogs.groovy in which, in a least one case, module is used and should not. This said I find annoying that Github doest not allow to increase the width of the view when reviewing. Since we agreed on 150 chars lines width it's really an issue. I could not find an easy way to increase the width of the view when reviewing. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
mbrohl commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638374937 I am not able to check right now but are we sure that this change does not introduce unwanted changes? Does it respect the log configurations with log4j? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
priyasharma1 closed pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
priyasharma1 commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638601279 Thanks Jacques, Actually in these files, I found the message to be Debug.logError(e, "Failure in " + module) Thus I did not omit the "module" in the error message. IMO module will still point to the current class name ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
priyasharma1 edited a comment on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638601279 Thanks, Jacques Actually, in these files, I found the message to be like Debug.logError(e, "Failure in " + module) Thus I did not omit the "module" in the error message. IMO module will still point to the current class name, and so it won't cause any loss. Or, we can alter the error message, if you agree to that. Please let me know your views. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
priyasharma1 commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638602910 > I am not able to check right now but are we sure that this change does not introduce unwanted changes? Does it respect the log configurations with log4j? Thanks for the review, Michael. :) Please feel free to test it thoroughly and let me know in case you have any suggestions or improvements. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
priyasharma1 edited a comment on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-638602910 > I am not able to check right now but are we sure that this change does not introduce unwanted changes? Does it respect the log configurations with log4j? Thanks for the review, Michael. :) Please feel free to test it thoroughly and let me know in case you have any suggestions or improvements. We have only made changes to use the groovy utility methods, which internally invokes the Debug logging methods. thus there should be no conflicts with the log configurations. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
JacquesLeRoux commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-640007175 Hi Priya, Thanks, got it, it's OK with me. I'll test and merge if all is OK ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
JacquesLeRoux commented on pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185#issuecomment-640011090 Hi Michael, I tested and there is no problem with your concerns, merging ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
JacquesLeRoux merged pull request #185: URL: https://github.com/apache/ofbiz-framework/pull/185 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
Free forum by Nabble | Edit this page |