\Spatie\HttpLogger\LogNonGetRequests::class, /* * The log writer used to write the request to a log. * It should implement `LogWriter`. */ // 'log_writer' => \Spatie\HttpLogger\DefaultLogWriter::class, 'log_writer' => \App\Logging\CustomLogWriter::class, /* * The log channel used to write the request. */ // 'log_channel' => env('LOG_CHANNEL', 'stack'), 'log_channel' => 'http_logger', /* * The log level used to log the request. */ 'log_level' => 'info', /* * Filter out body fields which will never be logged. */ 'except' => [ // 'password', // 'password_confirmation', 'idcard_front', 'idcard_back', 'user_with_idcard', ], /* * List of headers that will be sanitized. For example Authorization, Cookie, Set-Cookie... */ 'sanitize_headers' => [], ];