You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Log lines in docker logs are truncated to 1024 characters (1055 including timestamp).
To Reproduce
Steps to reproduce the behavior:
Run PartDB from the docker image
Click around a while to generate some log files
Use docker logs to view the container's log files
Scroll and find a log line (deprication notices or exceptions usually work, or look for the line given in the first sample
Observe it is truncated at 1024 characters (after removing the timestamp)
Expected behavior
Log lines should not be truncated.
Screenshots
2024-11-24T13:48:32.888296316Z {"message":"User Deprecated: Since nelmio/security-bundle 3.4.0: The \"Nelmio\\SecurityBundle\\EventListener\\XssProtectionListener\" class is deprecated, use Content Security Policy without allowing \"unsafe-inline\" scripts instead.","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Since nelmio/security-bundle 3.4.0: The \"Nelmio\\SecurityBundle\\EventListener\\XssProtectionListener\" class is deprecated, use Content Security Policy without allowing \"unsafe-inline\" scripts instead.","code":0,"file":"/var/www/html/vendor/nelmio/security-bundle/src/EventListener/XssProtectionListener.php:35","trace":["/var/www/html/vendor/nelmio/security-bundle/src/EventListener/XssProtectionListener.php:80","/var/www/html/var/cache/docker/ContainerFWJJSPE/App_KernelDockerContainer.php:2016","/var/www/html/var/cache/docker/ContainerFWJJSPE/App_KernelDockerContainer.php:474","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:257","/var/www/html/vendor/symfony/event-dispatcher/Even
2024-11-24T13:48:32.885207074Z {"message":"Uncaught PHP Exception RuntimeException: \"Unknown response format\" at MouserProvider.php line 208","context":{"exception":{"class":"RuntimeException","message":"Unknown response format","code":0,"file":"/var/www/html/src/Services/InfoProviderSystem/Providers/MouserProvider.php:208","trace":["/var/www/html/src/Services/InfoProviderSystem/Providers/MouserProvider.php:135","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:82","/var/www/html/vendor/symfony/cache/LockRegistry.php:111","/var/www/html/vendor/symfony/cache/Traits/ContractsTrait.php:102","/var/www/html/vendor/symfony/cache-contracts/CacheTrait.php:64","/var/www/html/vendor/symfony/cache/Traits/ContractsTrait.php:85","/var/www/html/vendor/symfony/cache-contracts/CacheTrait.php:30","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:78","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:64","/var/www/html/src/Controller/InfoProviderController.php:83","/var/www/html/vendor/symfony/http-
Server Side
Part-DB Version: 1.14.4
PHP Version: 8.2.24 64bit
Database Server SQLite 3.40.1
Default locale: English (en)
Detailed error pages: Enabled
OS: Linux 8a225456c557 6.6.51+rpt-rpi-2712 Added code of conduct. #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64
Additional context
Found this while trying to debug a seperate issue whereby Mouser's integration has broken which causes an exception and the part search tool to return 500, as shown in example 2.
The text was updated successfully, but these errors were encountered:
Describe the bug
Log lines in
docker logs
are truncated to 1024 characters (1055 including timestamp).To Reproduce
Steps to reproduce the behavior:
docker logs
to view the container's log filesExpected behavior
Log lines should not be truncated.
Screenshots
Server Side
Additional context
Found this while trying to debug a seperate issue whereby Mouser's integration has broken which causes an exception and the part search tool to return 500, as shown in example 2.
The text was updated successfully, but these errors were encountered: