diff --git a/src/DefaultLogWriter.php b/src/DefaultLogWriter.php
index <HASH>..<HASH> 100644
--- a/src/DefaultLogWriter.php
+++ b/src/DefaultLogWriter.php
@@ -17,7 +17,7 @@ class DefaultLogWriter implements LogWriter
         $bodyAsJson = json_encode($request->except(config('http-logger.except')));
 
         $files = array_map(function (UploadedFile $file) {
-            return $file->getRealPath();
+            return $file->getClientOriginalName();
         }, iterator_to_array($request->files));
 
         $message = "{$method} {$uri} - Body: {$bodyAsJson} - Files: ".implode(', ', $files);
replaced getRealPath() method by getClientOriginalName() because we just want to get the name of the uploaded files