Starts in:
2 DAYS
20 HRS
34 MIN
19 SEC
Starts in:
2 D
20 H
34 M
19 S
Open Closed

How not to log the SQL query syntax #2157


User avatar
0
drenton created
  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How can I NOT log SQL query syntax?

The log file size is huge and most of the text are from EFCore query.


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    By default, we do not output SQL logs.

    You can try to change the log level to the warning:

  • User Avatar
    0
    drenton created

    Thanks! this works!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06