Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets: Allow to explicitly set debug mode #388

Merged
merged 1 commit into from
Jan 28, 2015

Conversation

robclancy
Copy link
Contributor

Allow to explicitly set debug mode instead of relying on the logger. Running --debug in pelican only changes the logging so it can be used in production however with this using the logger to change how assets work I can no longer use it in production (which is needed for other reasons). So this change is to allow more control.

I haven't tested or anything, about to make the change myself and use it. However adding code here should easily show you what I mean if you want to implement it a different way.

Allow to explicitly set debug mode instead of relying on the logger. Running `--debug` in pelican only changes the logging so it can be used in production however with this using the logger to change how assets work I can no longer use it in production (which is needed for other reasons). So this change is to allow more control.

I haven't tested or anything, about to make the change myself and use it. However adding code here should easily show you what  I mean if you want to implement it a different way.
@robclancy robclancy changed the title Allow to explicitly set debug mode Assets: Allow to explicitly set debug mode Jan 2, 2015
@robclancy
Copy link
Contributor Author

This single repository for all these plugins is a terrible idea. I'll just fork this instead like I have had to do with others because of this bizarre setup.

@robclancy robclancy closed this Jan 28, 2015
@justinmayer justinmayer reopened this Jan 28, 2015
@justinmayer
Copy link
Member

We have already acknowledged that this could (and will) be improved, as noted in #39.

justinmayer added a commit that referenced this pull request Jan 28, 2015
Assets: Allow to explicitly set debug mode
@justinmayer justinmayer merged commit 7937fa6 into getpelican:master Jan 28, 2015
@robclancy
Copy link
Contributor Author

Thank you.

On Thu, Jan 29, 2015 at 3:34 AM, Justin Mayer notifications@github.com
wrote:

Merged #388 #388.


Reply to this email directly or view it on GitHub
#388 (comment).

calfzhou pushed a commit to calfzhou/pelican-plugins that referenced this pull request Sep 28, 2019
docs(changelog): update change log for next release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants