Database access log generation method and device, storage medium and computer equipment

The invention provides a database access log generation method and device, a storage medium and computer equipment, and the method comprises the steps: obtaining instruction information returned by an instruction information obtaining function and a corresponding call stack of the instruction inform...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHANG YOUXUAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a database access log generation method and device, a storage medium and computer equipment, and the method comprises the steps: obtaining instruction information returned by an instruction information obtaining function and a corresponding call stack of the instruction information obtaining function in a current call process under the condition of monitoring that a to-be-tested application calls the instruction information obtaining function; for the call stack, the function information of all levels of call functions in the call stack can be matched in sequence according to the direction from the stack top to the stack bottom, so that the interface name of the target interface sending the database access instruction corresponding to the instruction information is determined. When the interface name and the instruction information are obtained, log information of the instruction information obtaining function in local calling is generated, and the log information is written into a data