You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would like to put a more "common" message and push the variables to the monolog "context" array like this:
[2022-02-28T16:08:48+01:00] local.INFO: Completed import of LDAP objects. {"imported":0,"synchronized":5}
(just as an example, it doesnt matter that much)
digging through the code, the only way that i can think of, is to disable the logging via config ldap.logging completely and listening for all of the LoggableEvents (Started, Completed, Imported...) myself and log whatever i want. seems simple enough, but is there any better way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
hello everyone, i try to tweak a log message to better fit the rest of my logs.
for example instead of:
i would like to put a more "common" message and push the variables to the monolog "context" array like this:
(just as an example, it doesnt matter that much)
digging through the code, the only way that i can think of, is to disable the logging via config
ldap.logging
completely and listening for all of theLoggableEvents
(Started
,Completed
,Imported
...) myself and log whatever i want. seems simple enough, but is there any better way?Beta Was this translation helpful? Give feedback.
All reactions