Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

passing log level to thumbor #1

Closed
fmarani opened this issue Jul 21, 2015 · 3 comments
Closed

passing log level to thumbor #1

fmarani opened this issue Jul 21, 2015 · 3 comments

Comments

@fmarani
Copy link

fmarani commented Jul 21, 2015

I did not find an easy way to pass the log level to the thumbor command line. I think it should be added because it makes debugging easier?

Example: launching the following command, storage is working but result_storage is not. Not sure what's wrong

docker run -d --restart=always -p 80:80 -v /home/ubuntu/thumbor/data:/data -v /home/ubuntu/thumbor/logs:/logs -e "RESULT_STORAGE=thumbor.result_storages.file_storage" apsl/thumbor
@eduherraiz
Copy link
Member

I can't test it today, but I think the problem is by default the result storage is disabled for unsafe.
Try adding
RESULT_STORAGE_STORES_UNSAFE=True

@fmarani
Copy link
Author

fmarani commented Jul 21, 2015

yep, that solved my immediate problem. Thanks a lot!

@eduherraiz
Copy link
Member

You are welcome. It's the normal behavior but I will study increase the log level in the next release. I can't remember if thumbor is able to show this kind of issues. :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants