]> BookStack Code Mirror - bookstack/blobdiff - app/Config/logging.php
Move logFailedAccess into Activity
[bookstack] / app / Config / logging.php
index 9c3218a01c99fe6136f70f6c019b085f2f51462d..406b9f2f938892322aa74492d3a4bebc3ee021fc 100644 (file)
@@ -79,4 +79,9 @@ return [
         ],
     ],
 
-];
\ No newline at end of file
+    // Failed Access Message
+    // Defines the message to log into webserver logs in case of failed access,
+    // for further processing by tools like Fail2Ban.
+    'failed_access_message' => env('FAILED_ACCESS_MESSAGE', ''),
+
+];