Closed rockers007 closed 5 years ago
Hi @rockers007 ! I think remote_addr
and another is contextual information. Like id
in documentation .
Log::info('User failed to login.', ['id' => $user->id]);
Did you try it?
@itelmenko Thanks ,but its not working,I already tried for this
@rockers007
Log::info('Something happened!', ['remote_addr' => '127.0.0.2']);
It works for me. Tried in artisan tinker. In database I see this parameter in context field
How to pass create_by and remote_addr parameter?