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

Add variable/parameter which indicates the state of the FVWM3 logging #239

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

NsCDE
Copy link
Contributor

@NsCDE NsCDE commented Oct 2, 2020

Hi @ThomasAdam

I realized that there is no way to check if logging and debugging with SIGUSR2 is currently enabled or disabled. This may lead to the situation that something opens the log, crash and not closes it, then "opens" it again, but actually closes it.
This is my proposal for new internal varible/parameter $[debuglog.state] with value 0 or 1 for checking this state.

P. S.
In libs/log.h I already found log_get_level() declared but unused in log.c when I wanted to declare it. So I'm probably on the trace of some forgotten idea. :-)

Copy link
Member

@ThomasAdam ThomasAdam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @NsCDE,

This all looks good. Thanks.

@ThomasAdam ThomasAdam merged commit b7da605 into fvwmorg:master Oct 2, 2020
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.

2 participants