Maintainerr
Maintainerr copied to clipboard
[FEATURE REQUEST] Logging - More details when using DEBUG=True
Describe the bug
I see a lot of the following AxiosError
messages when having DEBUG
environment variable set to true
:
2024-08-18T06:00:00.190469347Z [maintainerr] | 18/08/2024 08:00:00 [INFO] [RuleExecutorService] Starting Execution of all active rules
2024-08-18T06:00:00.482444209Z [maintainerr] | 18/08/2024 08:00:00 [INFO] [RuleExecutorService] Executing rules for 'Series die binnenkort verwijderd worden'
2024-08-18T06:00:51.135462051Z [maintainerr] | 18/08/2024 08:00:51 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:00:54.480194328Z [maintainerr] | 18/08/2024 08:00:54 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:01:00.984471291Z [maintainerr] | 18/08/2024 08:01:00 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:01:10.908285097Z [maintainerr] | 18/08/2024 08:01:10 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:32.804455235Z [maintainerr] | 18/08/2024 08:02:32 [INFO] [RuleExecutorService] Execution of rules for 'Series die binnenkort verwijderd worden' done.
2024-08-18T06:02:33.007776394Z [maintainerr] | 18/08/2024 08:02:33 [INFO] [RuleExecutorService] Synced collection 'Series die binnenkort verwijderd worden' with Plex
2024-08-18T06:02:33.007808484Z [maintainerr] | 18/08/2024 08:02:33 [INFO] [RuleExecutorService] Executing rules for 'Films die binnenkort verwijderd worden'
2024-08-18T06:02:37.819661675Z [maintainerr] | 18/08/2024 08:02:37 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:38.205315624Z [maintainerr] | 18/08/2024 08:02:38 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:38.457615597Z [maintainerr] | 18/08/2024 08:02:38 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:39.557919688Z [maintainerr] | 18/08/2024 08:02:39 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:40.256630295Z [maintainerr] | 18/08/2024 08:02:40 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:40.319130373Z [maintainerr] | 18/08/2024 08:02:40 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 500
2024-08-18T06:02:49.605718837Z [maintainerr] | 18/08/2024 08:02:49 [INFO] [RuleExecutorService] Adding 1 media items to 'Films die binnenkort verwijderd worden'.
2024-08-18T06:02:49.607447097Z [maintainerr] | 18/08/2024 08:02:49 [INFO] [CollectionsService] Adding media with id 117584 to collection..
2024-08-18T06:02:49.746245095Z [maintainerr] | 18/08/2024 08:02:49 [DEBUG] [undefined] GET request failed: AxiosError: Request failed with status code 404
2024-08-18T06:02:50.316957971Z [maintainerr] | 18/08/2024 08:02:50 [INFO] [RuleExecutorService] Execution of rules for 'Films die binnenkort verwijderd worden' done.
2024-08-18T06:02:50.384617886Z [maintainerr] | 18/08/2024 08:02:50 [INFO] [RuleExecutorService] Synced collection 'Films die binnenkort verwijderd worden' with Plex
Is it possible to have some more details in the logs explaining the who, where, why about the error? At the moment it just says it has a 500 or 404 status code error, but not which URL it requested. Debugging those errors will be very difficult as it is now.