Answer the question
In order to leave comments, you need to log in
How to make a regular routine for "highlighting" logs?
Hello.
Help compose a regular routine for highlighting logs. Log format:
[2021-09-29T01:15:06.864049+03:00] security.DEBUG: The "App\Security\Admin\Authenticator" authenticator set the failure response. {"authenticator":"App\\Security\\Admin\\Authenticator"} []
[2021-09-29T01:15:06.864234+03:00] security.INFO: Clearing remember-me cookie. {"name":"REMEMBERME"} []
^...$
. According to the idea you need to get.*\.DEBUG
.*\.INFO
.*\.WARNING
.*\.ERROR
Answer the question
In order to leave comments, you need to log in
It turned out this regularity:
^.*\.DEBUG.*$
^.*\.INFO.*$
^.*\.WARNING.*$
^.*\.ERROR.*$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question