@@ -82,7 +82,8 @@ return [
8282## Test Mode
8383
8484Mux offers a test mode for evaluating their service without incurring charges for storage or streaming.
85- All videos uploaded in test mode are watermarked and deleted after 24 hours.
85+ All videos uploaded in test mode are watermarked and deleted after 24 hours. This is recommended during
86+ initial setup and on development machines.
8687
8788``` php
8889return [
@@ -179,7 +180,7 @@ streaming and downloading the full video.
179180
180181Any videos shorter than the defined placeholder length will keep the original.
181182
182- Note that this feature requires a [ queue worker] ( https://laravel.com/docs/12.x/ queues#running-the-queue-worker )
183+ Note that this feature requires a [ queue worker] ( https://laravel.com/docs/queues#running-the-queue-worker )
183184to be running, as the video processing can take some time depending on the file size.
184185
185186``` php
@@ -220,3 +221,36 @@ return [
220221 ],
221222];
222223```
224+
225+ ## Logging
226+
227+ Configure the output and verbosity of the addon's logs.
228+
229+ For troubleshooting uploads and getting insight into the processing of video files,
230+ you can increase the log level to ` debug ` temporarily. Make sure to set it back to
231+ ` notice ` or ` warning ` in production to avoid excessive log output.
232+
233+ The addon creates its own log channel, writing to ` storage/logs/mux.log ` and
234+ rotating biweekly. You can customize the log channel by either defining a ` mux `
235+ channel of your own in ` config/logging.php ` or telling the addon to use a
236+ different channel entirely.
237+
238+ ``` php
239+ return [
240+ /*
241+ |--------------------------------------------------------------------------
242+ | Logging
243+ |--------------------------------------------------------------------------
244+ */
245+
246+ 'logging' => [
247+
248+ 'enabled' => env('MUX_LOG_ENABLED', true),
249+
250+ 'channel' => env('MUX_LOG_CHANNEL', 'mux'), // [!code focus]
251+
252+ 'level' => env('MUX_LOG_LEVEL', env('LOG_LEVEL', 'debug')), // [!code focus]
253+
254+ ],
255+ ];
256+ ```
0 commit comments