The application relates to a log content modification method and device,
electronic equipment and a storage medium, the method comprising the following steps: starting a
Java probe corresponding to a target application, and registering a class
bytecode converter by using the
Java probe; acquiring configuration data from a configuration center by using the
Java probe, and supporting dynamic modification of to-be-inserted log content and an
insertion position; in the case that the class
bytecode converter detects that a currently loaded class in a
Java virtual machine matches the configuration data, or in the case that the Java probe detects that configuration data in the configuration center is changed, modifying target class
bytecode by using the class bytecode converter, so that the
Java virtual machine generates modified log content based on the modified target class bytecode. In this way, the log content of the target application can be dynamically modified without modifying
business code and restarting a background service, the log content modification time is shortened, and the modification efficiency of the log content is improved.