Skip to content

log_level is broken in the ipython Application #541

Closed
ellisonbg opened this Issue Jun 25, 2011 · 1 comment

2 participants

@ellisonbg
IPython member

Currently the following does not work:

ipython log_level=DEBUG

But the following do work:

ipython profile list log_level=DEBUG
ipython profile create log_level=DEBUG

I am not sure if this works though:

ipython qtconsole log_level=DEBUG

Because I don't know how to turn on logging to stdout for that app.

@minrk minrk was assigned Jun 25, 2011
@minrk minrk added a commit that closed this issue Jun 26, 2011
@minrk minrk add `log_level` to base app aliases
'log_level' alias to 'Application.log_level' is added to base_alises defined
in IPython.core.application, which is inherited by most IPython applications.

closes gh-541
0e4fe98
@minrk minrk closed this in 0e4fe98 Jun 26, 2011
@minrk
IPython member
minrk commented Jun 26, 2011

it's not broken, the alias just wasn't defined in all apps. Application.log_level=DEBUG is guaranteed to work everywhere, regardless of aliases.

I added the alias, so it should be everywhere now (definitely works in ipython and qtconsole).

@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@minrk minrk add `log_level` to base app aliases
'log_level' alias to 'Application.log_level' is added to base_alises defined
in IPython.core.application, which is inherited by most IPython applications.

closes gh-541
5d2e114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.