Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application.log里缺少sql语句日志 #233

Open
liushuainice opened this issue Oct 28, 2022 · 3 comments
Open

application.log里缺少sql语句日志 #233

liushuainice opened this issue Oct 28, 2022 · 3 comments

Comments

@liushuainice
Copy link

image

在demo-crm项目的flows/chart里的处理器,如截图中的写法,日志文件里不会产生sql语句日志

@liushuainice
Copy link
Author

image

刚刚发现在query里加上debug字段可以在控制台上看到sql,但日志文件里还是没有

@helperAI
Copy link

我觉得所有的model,flow和table中的与sql相关内容全部需要一个:debug:true的开关把sql的拼接写入日志,方便调试。因为目前的sql语句基本是json文件定义的。不熟悉的时候经常找不到原因为何数据返回不是所需要的。

@yflau
Copy link
Contributor

yflau commented May 7, 2024

注入一个sql hook打印日志就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants