Base solution for your next web application
Open Closed

Input a very large string to AppService #360


User avatar
0
mrvithan created

We just find out that when we pass a very long parameter into an AppService. The audit log will auto trim and insert '...' instead then insert the string into "Parameters" field. Are there any possible to turn this feature off ?

Thx for help.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    These is because of char limit of the Parameters property. Max length is 1024 chars (see <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/master/src/Abp.Zero/Auditing/AuditLog.cs#L28">https://github.com/aspnetboilerplate/mo ... Log.cs#L28</a>). I did think that should be enough. Also, if we store very long texts, audit log table becomes very big. That's why I limited it. If you want to store longer, please open an issue on Github (<a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues">https://github.com/aspnetboilerplate/module-zero/issues</a>) to discuss it for next versions. Currently, there is no option for that.