mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
pre-release changes
This commit is contained in:
@@ -66,6 +66,59 @@ return [
|
||||
*/
|
||||
'max_logged_requests' => 25,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maximum Allowed Memory
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The maximum memory allocated to the expose process.
|
||||
|
|
||||
*/
|
||||
'memory_limit' => '128M',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maximum Allowed Memory
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Sometimes, some responses don't need to be logged. Some are too big,
|
||||
| some can't be read (like compiled assets). This configuration allows you
|
||||
| to be as granular as you wish when logging the responses.
|
||||
|
|
||||
| If you run constantly out of memory, you probably need to set some of these up.
|
||||
|
|
||||
| Keep in mind, by default, BINARY requests/responses are not logged.
|
||||
| You do not need to add video/mp4 for example to this list.
|
||||
|
|
||||
*/
|
||||
'skip_body_log' => [
|
||||
/**
|
||||
| Skip response logging by HTTP response code. Format: 4*, 5*
|
||||
*/
|
||||
'status' => [
|
||||
// "4*"
|
||||
],
|
||||
/**
|
||||
| Skip response logging by HTTP response content type. Ex: "text/css"
|
||||
*/
|
||||
'content_type' => [
|
||||
//
|
||||
],
|
||||
/**
|
||||
| Skip response logging by file extension. Ex: ".js.map", ".min.js", ".min.css"
|
||||
*/
|
||||
'extension' => [
|
||||
'.js.map',
|
||||
'.css.map',
|
||||
],
|
||||
/**
|
||||
| Skip response logging if response size is greater than configured value.
|
||||
| Valid suffixes are: B, KB, MB, GB.
|
||||
| Ex: 500B, 1KB, 2MB, 3GB
|
||||
*/
|
||||
'size' => '1MB',
|
||||
],
|
||||
|
||||
'admin' => [
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user