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

Make the debug level configurable within neomutt #445

Closed
flatcap opened this issue Mar 1, 2017 · 3 comments
Closed

Make the debug level configurable within neomutt #445

flatcap opened this issue Mar 1, 2017 · 3 comments
Assignees
Labels
topic:testing Testing / Acutest type:enhancement Feature Request

Comments

@flatcap
Copy link
Member

flatcap commented Mar 1, 2017

Starting neomutt with the option -d 2 enables debug logging (if enabled by the build).
Often, the user hasn't enabled this logging when then encounter a problem.
Often, restarting will leave neomutt in a slightly different state to the one that caused the problem.

I propose changing the internal debuglevel variable into a user-configurable $debug_level

Use case: User sees some unexpected behaviour

  • set debug_level=5
  • repeat actions to repeat error

When debug_level is set > 0, a new log file will be opened.
When debug_level is set to 0, the log file will be closed.

@flatcap flatcap added easy type:discuss Your views/opinions are requested topic:testing Testing / Acutest type:enhancement Feature Request labels Mar 1, 2017
@guyzmo
Copy link
Contributor

guyzmo commented Mar 1, 2017

then debugfile should be configurable as well!

@sileht
Copy link
Contributor

sileht commented Mar 1, 2017

+1 for the idea

I like the idea to have an configurable debugfile. I don't like the current behavior I would prefer to always append to the same file.

I can work on this, if nobody step in.

@ghost ghost assigned sileht Mar 1, 2017
@ghost ghost added the status:in-progress label Mar 1, 2017
@ghost
Copy link

ghost commented Mar 1, 2017

I can work on this, if nobody step in.

@sileht Nobody has assigned theirselfes to this issue yet, therefore you can of course work on this.

I'll assign you to it, so that people know this is WIP.

Thanks! :)

sileht added a commit to sileht/neomutt that referenced this issue Mar 2, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
@ghost ghost removed type:discuss Your views/opinions are requested status:in-progress labels Mar 2, 2017
sileht added a commit to sileht/neomutt that referenced this issue Mar 2, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 2, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 14, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 14, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 16, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 28, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 28, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 30, 2017
This change allows to change debug_level and debug_file on the fly.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 31, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 31, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Mar 31, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue Apr 10, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
flatcap pushed a commit that referenced this issue Apr 14, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes #445
sileht added a commit to sileht/neomutt that referenced this issue Apr 17, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
flatcap pushed a commit that referenced this issue Apr 21, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes #445
sileht added a commit to sileht/neomutt that referenced this issue Apr 30, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
sileht added a commit to sileht/neomutt that referenced this issue May 2, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes neomutt#445
flatcap pushed a commit that referenced this issue May 11, 2017
This change allows to change debug_level and debug_file on the fly.

It adds the -l mutt arguments to pass the logging file on startup.

debug options passed as mutt arguments always override the configuration
file.

Closes #445
@ghost ghost removed the status:in-progress label May 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:testing Testing / Acutest type:enhancement Feature Request
Projects
None yet
Development

No branches or pull requests

4 participants